diff --git a/provider/cmd/pulumi-resource-ec/bridge-metadata.json b/provider/cmd/pulumi-resource-ec/bridge-metadata.json index b7deaa9b..dc4ac581 100644 --- a/provider/cmd/pulumi-resource-ec/bridge-metadata.json +++ b/provider/cmd/pulumi-resource-ec/bridge-metadata.json @@ -199,6 +199,99 @@ } } }, + "ec_deployment_templates": { + "current": "ec:index/getDeploymentTemplates:getDeploymentTemplates", + "fields": { + "templates": { + "maxItemsOne": false, + "elem": { + "fields": { + "apm": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "elasticsearch": { + "fields": { + "cold": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "coordinating": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "frozen": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "hot": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "master": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "ml": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "warm": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + } + } + }, + "enterprise_search": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "integrations_server": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + }, + "kibana": { + "fields": { + "available_sizes": { + "maxItemsOne": false + } + } + } + } + } + } + } + }, "ec_deployments": { "current": "ec:index/getDeployments:getDeployments", "fields": { diff --git a/provider/cmd/pulumi-resource-ec/schema.json b/provider/cmd/pulumi-resource-ec/schema.json index 872b29aa..7b68b1e8 100644 --- a/provider/cmd/pulumi-resource-ec/schema.json +++ b/provider/cmd/pulumi-resource-ec/schema.json @@ -116,6 +116,15 @@ "instanceConfigurationId": { "type": "string" }, + "instanceConfigurationVersion": { + "type": "integer" + }, + "latestInstanceConfigurationId": { + "type": "string" + }, + "latestInstanceConfigurationVersion": { + "type": "integer" + }, "refId": { "type": "string" }, @@ -144,6 +153,9 @@ "httpEndpoint", "httpsEndpoint", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "refId", "region", "resourceId", @@ -329,7 +341,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -376,6 +400,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -390,6 +417,10 @@ }, "ec:index/DeploymentElasticsearchColdAutoscaling:DeploymentElasticsearchColdAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -415,6 +446,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -471,7 +503,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -518,6 +562,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -532,6 +579,10 @@ }, "ec:index/DeploymentElasticsearchCoordinatingAutoscaling:DeploymentElasticsearchCoordinatingAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -557,6 +608,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -601,7 +653,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -648,6 +712,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -662,6 +729,10 @@ }, "ec:index/DeploymentElasticsearchFrozenAutoscaling:DeploymentElasticsearchFrozenAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -687,6 +758,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -704,7 +776,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -751,6 +835,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -765,6 +852,10 @@ }, "ec:index/DeploymentElasticsearchHotAutoscaling:DeploymentElasticsearchHotAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -790,6 +881,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -832,7 +924,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -879,6 +983,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -893,6 +1000,10 @@ }, "ec:index/DeploymentElasticsearchMasterAutoscaling:DeploymentElasticsearchMasterAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -918,6 +1029,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -935,7 +1047,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -982,6 +1106,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -996,6 +1123,10 @@ }, "ec:index/DeploymentElasticsearchMlAutoscaling:DeploymentElasticsearchMlAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -1021,6 +1152,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -1197,7 +1329,19 @@ }, "instanceConfigurationId": { "type": "string", - "description": "Computed Instance Configuration ID of the topology element\n" + "description": "Instance Configuration ID of the topology element\n" + }, + "instanceConfigurationVersion": { + "type": "integer", + "description": "Instance Configuration version of the topology element\n" + }, + "latestInstanceConfigurationId": { + "type": "string", + "description": "Latest Instance Configuration ID available on the deployment template for the topology element\n" + }, + "latestInstanceConfigurationVersion": { + "type": "integer", + "description": "Latest version available for the Instance Configuration with the latest_instance_configuration_id\n" }, "nodeRoles": { "type": "array", @@ -1244,6 +1388,9 @@ "requiredOutputs": [ "autoscaling", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeRoles", "nodeTypeData", "nodeTypeIngest", @@ -1258,6 +1405,10 @@ }, "ec:index/DeploymentElasticsearchWarmAutoscaling:DeploymentElasticsearchWarmAutoscaling": { "properties": { + "autoscale": { + "type": "boolean", + "description": "Enable or disable autoscaling. Defaults to the setting coming from the deployment template.\n" + }, "maxSize": { "type": "string", "description": "Maximum size value for the maximum autoscaling setting.\n" @@ -1283,6 +1434,7 @@ "language": { "nodejs": { "requiredOutputs": [ + "autoscale", "maxSize", "maxSizeResource", "minSize", @@ -1310,6 +1462,15 @@ "instanceConfigurationId": { "type": "string" }, + "instanceConfigurationVersion": { + "type": "integer" + }, + "latestInstanceConfigurationId": { + "type": "string" + }, + "latestInstanceConfigurationVersion": { + "type": "integer" + }, "nodeTypeAppserver": { "type": "boolean" }, @@ -1347,6 +1508,9 @@ "httpEndpoint", "httpsEndpoint", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "nodeTypeAppserver", "nodeTypeConnector", "nodeTypeWorker", @@ -1407,6 +1571,15 @@ "instanceConfigurationId": { "type": "string" }, + "instanceConfigurationVersion": { + "type": "integer" + }, + "latestInstanceConfigurationId": { + "type": "string" + }, + "latestInstanceConfigurationVersion": { + "type": "integer" + }, "refId": { "type": "string" }, @@ -1436,6 +1609,9 @@ "httpEndpoint", "httpsEndpoint", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "refId", "region", "resourceId", @@ -1489,12 +1665,20 @@ }, "fleet": { "type": "string" + }, + "profiling": { + "type": "string" + }, + "symbols": { + "type": "string" } }, "type": "object", "required": [ "apm", - "fleet" + "fleet", + "profiling", + "symbols" ] }, "ec:index/DeploymentKibana:DeploymentKibana": { @@ -1515,6 +1699,15 @@ "instanceConfigurationId": { "type": "string" }, + "instanceConfigurationVersion": { + "type": "integer" + }, + "latestInstanceConfigurationId": { + "type": "string" + }, + "latestInstanceConfigurationVersion": { + "type": "integer" + }, "refId": { "type": "string" }, @@ -1543,6 +1736,9 @@ "httpEndpoint", "httpsEndpoint", "instanceConfigurationId", + "instanceConfigurationVersion", + "latestInstanceConfigurationId", + "latestInstanceConfigurationVersion", "refId", "region", "resourceId", @@ -2288,92 +2484,60 @@ } } }, - "ec:index/getDeploymentsApm:getDeploymentsApm": { - "properties": { - "healthy": { - "type": "string", - "description": "Overall health status of the resource instances.\n" - }, - "status": { - "type": "string", - "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" - }, - "version": { - "type": "string", - "description": "Elastic stack version.\n" - } - }, - "type": "object" - }, - "ec:index/getDeploymentsDeployment:getDeploymentsDeployment": { + "ec:index/getDeploymentTemplatesTemplate:getDeploymentTemplatesTemplate": { "properties": { - "alias": { - "type": "string", - "description": "Deployment alias.\n" - }, - "apmRefId": { - "type": "string", - "description": "The APM resource reference.\n" - }, - "apmResourceId": { - "type": "string", - "description": "The APM resource unique ID.\n" - }, - "deploymentId": { - "type": "string", - "description": "The deployment unique ID.\n" + "apm": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateApm:getDeploymentTemplatesTemplateApm", + "description": "Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server).\n" }, - "elasticsearchRefId": { - "type": "string", - "description": "The Elasticsearch resource reference.\n" + "deprecated": { + "type": "boolean", + "description": "Outdated templates are marked as deprecated, but can still be used.\n" }, - "elasticsearchResourceId": { + "description": { "type": "string", - "description": "The Elasticsearch resource unique ID.\n" + "description": "The description of the deployment template.\n" }, - "enterpriseSearchRefId": { - "type": "string", - "description": "The Enterprise Search resource reference.\n" + "elasticsearch": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearch:getDeploymentTemplatesTemplateElasticsearch", + "description": "Defines the default configuration for Elasticsearch.\n" }, - "enterpriseSearchResourceId": { - "type": "string", - "description": "The Enterprise Search resource unique ID.\n" + "enterpriseSearch": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateEnterpriseSearch:getDeploymentTemplatesTemplateEnterpriseSearch", + "description": "Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server).\n" }, - "integrationsServerRefId": { + "id": { "type": "string", - "description": "The Integrations Server resource reference.\n" + "description": "The id of the deployment template.\n" }, - "integrationsServerResourceId": { - "type": "string", - "description": "The Integrations Server resource unique ID.\n" + "integrationsServer": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateIntegrationsServer:getDeploymentTemplatesTemplateIntegrationsServer", + "description": "Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server).\n" }, - "kibanaRefId": { - "type": "string", - "description": "The Kibana resource reference.\n" + "kibana": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateKibana:getDeploymentTemplatesTemplateKibana", + "description": "Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server).\n" }, - "kibanaResourceId": { + "minStackVersion": { "type": "string", - "description": "The Kibana resource unique ID.\n" + "description": "The minimum stack version that can used with this deployment template.\n" }, "name": { "type": "string", - "description": "The name of the deployment.\n" + "description": "The name of the deployment template.\n" } }, "type": "object", "required": [ - "alias", - "apmRefId", - "apmResourceId", - "deploymentId", - "elasticsearchRefId", - "elasticsearchResourceId", - "enterpriseSearchRefId", - "enterpriseSearchResourceId", - "integrationsServerRefId", - "integrationsServerResourceId", - "kibanaRefId", - "kibanaResourceId", + "apm", + "deprecated", + "description", + "elasticsearch", + "enterpriseSearch", + "id", + "integrationsServer", + "kibana", + "minStackVersion", "name" ], "language": { @@ -2382,48 +2546,830 @@ } } }, - "ec:index/getDeploymentsElasticsearch:getDeploymentsElasticsearch": { + "ec:index/getDeploymentTemplatesTemplateApm:getDeploymentTemplatesTemplateApm": { "properties": { - "healthy": { - "type": "string", - "description": "Overall health status of the resource instances.\n" + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } }, - "status": { - "type": "string", - "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" + "defaultSize": { + "type": "string" }, - "version": { - "type": "string", - "description": "Elastic stack version.\n" + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" } }, - "type": "object" + "type": "object", + "required": [ + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "ec:index/getDeploymentsEnterpriseSearch:getDeploymentsEnterpriseSearch": { + "ec:index/getDeploymentTemplatesTemplateElasticsearch:getDeploymentTemplatesTemplateElasticsearch": { "properties": { - "healthy": { - "type": "string", - "description": "Overall health status of the resource instances.\n" + "autoscale": { + "type": "boolean" }, - "status": { - "type": "string", - "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" + "cold": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchCold:getDeploymentTemplatesTemplateElasticsearchCold", + "description": "Defines the default configuration for each topology.\n" }, - "version": { - "type": "string", - "description": "Elastic stack version.\n" + "coordinating": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchCoordinating:getDeploymentTemplatesTemplateElasticsearchCoordinating", + "description": "Defines the default configuration for each topology.\n" + }, + "frozen": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchFrozen:getDeploymentTemplatesTemplateElasticsearchFrozen", + "description": "Defines the default configuration for each topology.\n" + }, + "hot": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchHot:getDeploymentTemplatesTemplateElasticsearchHot", + "description": "Defines the default configuration for each topology.\n" + }, + "master": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchMaster:getDeploymentTemplatesTemplateElasticsearchMaster", + "description": "Defines the default configuration for each topology.\n" + }, + "ml": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchMl:getDeploymentTemplatesTemplateElasticsearchMl", + "description": "Defines the default configuration for each topology.\n" + }, + "warm": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchWarm:getDeploymentTemplatesTemplateElasticsearchWarm", + "description": "Defines the default configuration for each topology.\n" } }, - "type": "object" + "type": "object", + "required": [ + "autoscale", + "cold", + "coordinating", + "frozen", + "hot", + "master", + "ml", + "warm" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } }, - "ec:index/getDeploymentsIntegrationsServer:getDeploymentsIntegrationsServer": { + "ec:index/getDeploymentTemplatesTemplateElasticsearchCold:getDeploymentTemplatesTemplateElasticsearchCold": { "properties": { - "healthy": { - "type": "string", - "description": "Overall health status of the resource instances.\n" + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchColdAutoscaling:getDeploymentTemplatesTemplateElasticsearchColdAutoscaling" }, - "status": { - "type": "string", + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchColdAutoscaling:getDeploymentTemplatesTemplateElasticsearchColdAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchCoordinating:getDeploymentTemplatesTemplateElasticsearchCoordinating": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling:getDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling:getDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchFrozen:getDeploymentTemplatesTemplateElasticsearchFrozen": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling:getDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling:getDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchHot:getDeploymentTemplatesTemplateElasticsearchHot": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchHotAutoscaling:getDeploymentTemplatesTemplateElasticsearchHotAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchHotAutoscaling:getDeploymentTemplatesTemplateElasticsearchHotAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchMaster:getDeploymentTemplatesTemplateElasticsearchMaster": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchMasterAutoscaling:getDeploymentTemplatesTemplateElasticsearchMasterAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchMasterAutoscaling:getDeploymentTemplatesTemplateElasticsearchMasterAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchMl:getDeploymentTemplatesTemplateElasticsearchMl": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchMlAutoscaling:getDeploymentTemplatesTemplateElasticsearchMlAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchMlAutoscaling:getDeploymentTemplatesTemplateElasticsearchMlAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchWarm:getDeploymentTemplatesTemplateElasticsearchWarm": { + "properties": { + "autoscaling": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplateElasticsearchWarmAutoscaling:getDeploymentTemplatesTemplateElasticsearchWarmAutoscaling" + }, + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscaling", + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateElasticsearchWarmAutoscaling:getDeploymentTemplatesTemplateElasticsearchWarmAutoscaling": { + "properties": { + "autoscale": { + "type": "boolean" + }, + "maxSize": { + "type": "string" + }, + "maxSizeResource": { + "type": "string" + }, + "minSize": { + "type": "string" + }, + "minSizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "autoscale", + "maxSize", + "maxSizeResource", + "minSize", + "minSizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateEnterpriseSearch:getDeploymentTemplatesTemplateEnterpriseSearch": { + "properties": { + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateIntegrationsServer:getDeploymentTemplatesTemplateIntegrationsServer": { + "properties": { + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentTemplatesTemplateKibana:getDeploymentTemplatesTemplateKibana": { + "properties": { + "availableSizes": { + "type": "array", + "items": { + "type": "string" + } + }, + "defaultSize": { + "type": "string" + }, + "instanceConfigurationId": { + "type": "string" + }, + "instanceConfigurationVersion": { + "type": "number" + }, + "sizeResource": { + "type": "string" + } + }, + "type": "object", + "required": [ + "availableSizes", + "defaultSize", + "instanceConfigurationId", + "instanceConfigurationVersion", + "sizeResource" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentsApm:getDeploymentsApm": { + "properties": { + "healthy": { + "type": "string", + "description": "Overall health status of the resource instances.\n" + }, + "status": { + "type": "string", + "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" + }, + "version": { + "type": "string", + "description": "Elastic stack version.\n" + } + }, + "type": "object" + }, + "ec:index/getDeploymentsDeployment:getDeploymentsDeployment": { + "properties": { + "alias": { + "type": "string", + "description": "Deployment alias.\n" + }, + "apmRefId": { + "type": "string", + "description": "The APM resource reference.\n" + }, + "apmResourceId": { + "type": "string", + "description": "The APM resource unique ID.\n" + }, + "deploymentId": { + "type": "string", + "description": "The deployment unique ID.\n" + }, + "elasticsearchRefId": { + "type": "string", + "description": "The Elasticsearch resource reference.\n" + }, + "elasticsearchResourceId": { + "type": "string", + "description": "The Elasticsearch resource unique ID.\n" + }, + "enterpriseSearchRefId": { + "type": "string", + "description": "The Enterprise Search resource reference.\n" + }, + "enterpriseSearchResourceId": { + "type": "string", + "description": "The Enterprise Search resource unique ID.\n" + }, + "integrationsServerRefId": { + "type": "string", + "description": "The Integrations Server resource reference.\n" + }, + "integrationsServerResourceId": { + "type": "string", + "description": "The Integrations Server resource unique ID.\n" + }, + "kibanaRefId": { + "type": "string", + "description": "The Kibana resource reference.\n" + }, + "kibanaResourceId": { + "type": "string", + "description": "The Kibana resource unique ID.\n" + }, + "name": { + "type": "string", + "description": "The name of the deployment.\n" + } + }, + "type": "object", + "required": [ + "alias", + "apmRefId", + "apmResourceId", + "deploymentId", + "elasticsearchRefId", + "elasticsearchResourceId", + "enterpriseSearchRefId", + "enterpriseSearchResourceId", + "integrationsServerRefId", + "integrationsServerResourceId", + "kibanaRefId", + "kibanaResourceId", + "name" + ], + "language": { + "nodejs": { + "requiredInputs": [] + } + } + }, + "ec:index/getDeploymentsElasticsearch:getDeploymentsElasticsearch": { + "properties": { + "healthy": { + "type": "string", + "description": "Overall health status of the resource instances.\n" + }, + "status": { + "type": "string", + "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" + }, + "version": { + "type": "string", + "description": "Elastic stack version.\n" + } + }, + "type": "object" + }, + "ec:index/getDeploymentsEnterpriseSearch:getDeploymentsEnterpriseSearch": { + "properties": { + "healthy": { + "type": "string", + "description": "Overall health status of the resource instances.\n" + }, + "status": { + "type": "string", + "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" + }, + "version": { + "type": "string", + "description": "Elastic stack version.\n" + } + }, + "type": "object" + }, + "ec:index/getDeploymentsIntegrationsServer:getDeploymentsIntegrationsServer": { + "properties": { + "healthy": { + "type": "string", + "description": "Overall health status of the resource instances.\n" + }, + "status": { + "type": "string", "description": "Resource kind status. Can be one of `initializing`, `stopping`, `stopped`, `rebooting`, `restarting`.\n" }, "version": { @@ -2796,7 +3742,7 @@ }, "resources": { "ec:index/deployment:Deployment": { - "description": "\n\n{{% examples %}}\n## Example Usage\n\n### Basic\n\n```terraform\n# Retrieve the latest stack pack version\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\n# Create an Elastic Cloud deployment\nresource \"ec_deployment\" \"example_minimal\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n }\n\n kibana = {}\n\n enterprise_search = {}\n\n integrations_server = {}\n}\n```\n\n### With config\n\n`es.yaml`\n```yaml\n# My example YAML configuration for elasicsearch nodes\nrepositories.url.allowed_urls: [\"http://www.example.org/root/*\", \"https://*.mydomain.com/*?*#*\"]\n```\n\n`deployment.tf`:\n```terraform\n# Retrieve the latest stack pack version\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\n# Create an Elastic Cloud deployment\nresource \"ec_deployment\" \"example_minimal\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n config = {\n user_settings_yaml = file(\"./es.yaml\")\n }\n }\n\n kibana = {}\n\n enterprise_search = {}\n\n integrations_server = {}\n}\n```\n\n### With autoscaling\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"example_minimal\" {\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n\n autoscale = \"true\"\n\n # If `autoscale` is set, all topology elements that\n # - either set `size` in the plan or\n # - have non-zero default `max_size` (that is read from the deployment templates's `autoscaling_max` value)\n # have to be listed even if their blocks don't specify other fields beside `id`\n\n cold = {\n autoscaling = {}\n }\n\n frozen = {\n autoscaling = {}\n }\n\n hot = {\n size = \"8g\"\n\n autoscaling = {\n max_size = \"128g\"\n max_size_resource = \"memory\"\n }\n }\n\n ml = {\n autoscaling = {}\n }\n\n warm = {\n autoscaling = {}\n }\n }\n\n # Initial size for `hot_content` tier is set to 8g\n # so `hot_content`'s size has to be added to the `ignore_changes` meta-argument to ignore future modifications that can be made by the autoscaler\n lifecycle {\n ignore_changes = [\n elasticsearch.hot.size\n ]\n }\n\n kibana = {}\n\n integrations_server = {}\n\n enterprise_search = {}\n}\n```\n\n### With observability\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"example_observability\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n # Mandatory fields\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n }\n\n kibana = {}\n\n # Optional observability settings\n observability = {\n deployment_id = ec_deployment.example_minimal.id\n }\n\n tags = {\n \"monitoring\" = \"source\"\n }\n}\n```\n\nIt is possible to enable observability without using a second deployment, by storing the observability data in the current deployment. To enable this, set `deployment_id` to `self`.\n```hcl\nobservability = {\n deployment_id = \"self\"\n}\n```\n\n### With Cross Cluster Search settings\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"source_deployment\" {\n name = \"my_ccs_source\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n size = \"1g\"\n autoscaling = {}\n }\n }\n}\n\nresource \"ec_deployment\" \"ccs\" {\n name = \"ccs deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-cross-cluster-search-v2\"\n\n elasticsearch = {\n hot = {\n autoscalign = {}\n }\n remote_cluster = [{\n deployment_id = ec_deployment.source_deployment.id\n alias = ec_deployment.source_deployment.name\n ref_id = ec_deployment.source_deployment.elasticsearch.0.ref_id\n }]\n }\n\n kibana = {}\n}\n```\n\n## Import\n\n~\u003e **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes.\n\n~\u003e **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported.\n\n~\u003e **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported.\n\n~\u003e **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing.\n\nDeployments can be imported using the `id`, for example:\n\n```sh\n$ pulumi import ec:index/deployment:Deployment search 320b7b540dfc967a7a649c18e2fce4ed\n```\n\n\n{{% /examples %}}", + "description": "\n\n{{% examples %}}\n## Example Usage\n\n### Basic\n\n```terraform\n# Retrieve the latest stack pack version\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\n# Create an Elastic Cloud deployment\nresource \"ec_deployment\" \"example_minimal\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n }\n\n kibana = {}\n\n enterprise_search = {}\n\n integrations_server = {}\n}\n```\n\n### With config\n\n`es.yaml`\n```yaml\n# My example YAML configuration for elasicsearch nodes\nrepositories.url.allowed_urls: [\"http://www.example.org/root/*\", \"https://*.mydomain.com/*?*#*\"]\n```\n\n`deployment.tf`:\n```terraform\n# Retrieve the latest stack pack version\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\n# Create an Elastic Cloud deployment\nresource \"ec_deployment\" \"example_minimal\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n config = {\n user_settings_yaml = file(\"./es.yaml\")\n }\n }\n\n kibana = {}\n\n enterprise_search = {}\n\n integrations_server = {}\n}\n```\n\n### With autoscaling\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"example_minimal\" {\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n\n autoscale = \"true\"\n\n # If `autoscale` is set, all topology elements that\n # - either set `size` in the plan or\n # - have non-zero default `max_size` (that is read from the deployment templates's `autoscaling_max` value)\n # have to be listed even if their blocks don't specify other fields beside `id`\n\n cold = {\n autoscaling = {}\n }\n\n frozen = {\n autoscaling = {}\n }\n\n hot = {\n size = \"8g\"\n\n autoscaling = {\n max_size = \"128g\"\n max_size_resource = \"memory\"\n }\n }\n\n ml = {\n autoscaling = {}\n }\n\n warm = {\n autoscaling = {}\n }\n }\n\n # Initial size for `hot_content` tier is set to 8g\n # so `hot_content`'s size has to be added to the `ignore_changes` meta-argument to ignore future modifications that can be made by the autoscaler\n lifecycle {\n ignore_changes = [\n elasticsearch.hot.size\n ]\n }\n\n kibana = {}\n\n integrations_server = {}\n\n enterprise_search = {}\n}\n```\n\n### With observability\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"example_observability\" {\n # Optional name.\n name = \"my_example_deployment\"\n\n # Mandatory fields\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n }\n\n kibana = {}\n\n # Optional observability settings\n observability = {\n deployment_id = ec_deployment.example_minimal.id\n }\n\n tags = {\n \"monitoring\" = \"source\"\n }\n}\n```\n\nIt is possible to enable observability without using a second deployment, by storing the observability data in the current deployment. To enable this, set `deployment_id` to `self`.\n```hcl\nobservability = {\n deployment_id = \"self\"\n}\n```\n\n### With Cross Cluster Search settings\n\n```terraform\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\nresource \"ec_deployment\" \"source_deployment\" {\n name = \"my_ccs_source\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n size = \"1g\"\n autoscaling = {}\n }\n }\n}\n\nresource \"ec_deployment\" \"ccs\" {\n name = \"ccs deployment\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-cross-cluster-search-v2\"\n\n elasticsearch = {\n hot = {\n autoscalign = {}\n }\n remote_cluster = [{\n deployment_id = ec_deployment.source_deployment.id\n alias = ec_deployment.source_deployment.name\n ref_id = ec_deployment.source_deployment.elasticsearch.0.ref_id\n }]\n }\n\n kibana = {}\n}\n```\n\n### With Keystore\n\n```terraform\n# Retrieve the latest stack pack version\ndata \"ec_stack\" \"latest\" {\n version_regex = \"latest\"\n region = \"us-east-1\"\n}\n\n# Create an Elastic Cloud deployment with keystore\nresource \"ec_deployment\" \"with_keystore\" {\n name = \"example_with_keystore\"\n\n region = \"us-east-1\"\n version = data.ec_stack.latest.version\n deployment_template_id = \"aws-io-optimized-v2\"\n\n elasticsearch = {\n hot = {\n autoscaling = {}\n }\n\n config = {\n user_settings_yaml = \u003c\u003cEOF\nxpack.security.authc.realms.oidc.oidc1:\n order: 1\n rp.client_id: \"\u003cclient-id\u003e\"\n rp.response_type: \"code\"\n rp.requested_scopes: [\"openid\", \"email\"]\n rp.redirect_uri: \"\u003cKIBANA_ENDPOINT_URL\u003e/api/security/oidc/callback\"\n op.issuer: \"\u003cYOUR_OKTA_DOMAIN\u003e\"\n op.authorization_endpoint: \"\u003cYOUR_OKTA_DOMAIN\u003e/oauth2/v1/authorize\"\n op.token_endpoint: \"\u003cYOUR_OKTA_DOMAIN\u003e/oauth2/v1/token\"\n op.userinfo_endpoint: \"\u003cYOUR_OKTA_DOMAIN\u003e/oauth2/v1/userinfo\"\n op.endsession_endpoint: \"\u003cYOUR_OKTA_DOMAIN\u003e/oauth2/v1/logout\"\n op.jwkset_path: \"\u003cYOUR_OKTA_DOMAIN\u003e/oauth2/v1/keys\"\n claims.principal: email\n claim_patterns.principal: \"^([^@]+)@elastic\\\\.co$\"\nEOF\n }\n\n keystore_contents = {\n \"xpack.security.authc.realms.oidc.oidc1.rp.client_secret\" = {\n value = \"secret-1\"\n }\n }\n }\n\n kibana = {\n zone_count = 1\n config = {\n user_settings_yaml = \u003c\u003cEOF\nxpack.security.authc.providers:\n oidc.oidc1:\n order: 0\n realm: oidc1\n description: \"Log in with Okta\"\n basic.basic1:\n order: 1\nEOF\n }\n }\n}\n```\n\n## Import\n\n~\u003e **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes.\n\n~\u003e **Note on legacy (pre-slider) deployments** Importing deployments created prior to the addition of sliders in ECE or ESS, without being migrated to use sliders, is not supported.\n\n~\u003e **Note on pre 6.6.0 deployments** Importing deployments with a version lower than `6.6.0` is not supported.\n\n~\u003e **Note on deployments with topology user settings** Only deployments with global user settings (config) are supported. Make sure to migrate to global settings before importing.\n\nDeployments can be imported using the `id`, for example:\n\n```sh\n$ pulumi import ec:index/deployment:Deployment search 320b7b540dfc967a7a649c18e2fce4ed\n```\n\n\n{{% /examples %}}", "properties": { "alias": { "type": "string", @@ -2820,7 +3766,7 @@ }, "elasticsearchPassword": { "type": "string", - "description": "Password for authenticating to the Elasticsearch resource. ~\u003e **Note on deployment credentials** The\n\u003ccode\u003eelastic\u003c/code\u003e user credentials are only available whilst creating a deployment. Importing a deployment will not\nimport the \u003ccode\u003eelasticsearch_username\u003c/code\u003e or \u003ccode\u003eelasticsearch_password\u003c/code\u003e attributes.\n", + "description": "Password for authenticating to the Elasticsearch resource. ~\u003e **Note on deployment credentials** The\n\u003ccode\u003eelastic\u003c/code\u003e user credentials are only available whilst creating a deployment. Importing a deployment will not\nimport the \u003ccode\u003eelasticsearch_username\u003c/code\u003e or \u003ccode\u003eelasticsearch_password\u003c/code\u003e attributes. ~\u003e **Note on\ndeployment credentials in state** The \u003ccode\u003eelastic\u003c/code\u003e user credentials are stored in the state file as plain text.\nPlease follow the official Terraform recommendations regarding senstaive data in state.\n", "secret": true }, "elasticsearchUsername": { @@ -2839,6 +3785,10 @@ "$ref": "#/types/ec:index/DeploymentKibana:DeploymentKibana", "description": "Kibana cluster definition. -\u003e **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana\nblock, since not doing so might cause issues when modifying or upgrading the deployment.\n" }, + "migrateToLatestHardware": { + "type": "boolean", + "description": "When set to true, the deployment will be updated according to the latest deployment template values. ~\u003e **Note** If the\n\u003ccode\u003einstance_configuration_id\u003c/code\u003e or \u003ccode\u003einstance_configuration_version\u003c/code\u003e fields are set for a specific\ntopology element, that element will not be updated. ~\u003e **Note** Hardware migrations are not supported for deployments\nwith node types. To use this field, the deployment needs to be migrated to node roles first.\n" + }, "name": { "type": "string", "description": "Extension name.\n" @@ -2920,6 +3870,10 @@ "$ref": "#/types/ec:index/DeploymentKibana:DeploymentKibana", "description": "Kibana cluster definition. -\u003e **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana\nblock, since not doing so might cause issues when modifying or upgrading the deployment.\n" }, + "migrateToLatestHardware": { + "type": "boolean", + "description": "When set to true, the deployment will be updated according to the latest deployment template values. ~\u003e **Note** If the\n\u003ccode\u003einstance_configuration_id\u003c/code\u003e or \u003ccode\u003einstance_configuration_version\u003c/code\u003e fields are set for a specific\ntopology element, that element will not be updated. ~\u003e **Note** Hardware migrations are not supported for deployments\nwith node types. To use this field, the deployment needs to be migrated to node roles first.\n" + }, "name": { "type": "string", "description": "Extension name.\n" @@ -2990,7 +3944,7 @@ }, "elasticsearchPassword": { "type": "string", - "description": "Password for authenticating to the Elasticsearch resource. ~\u003e **Note on deployment credentials** The\n\u003ccode\u003eelastic\u003c/code\u003e user credentials are only available whilst creating a deployment. Importing a deployment will not\nimport the \u003ccode\u003eelasticsearch_username\u003c/code\u003e or \u003ccode\u003eelasticsearch_password\u003c/code\u003e attributes.\n", + "description": "Password for authenticating to the Elasticsearch resource. ~\u003e **Note on deployment credentials** The\n\u003ccode\u003eelastic\u003c/code\u003e user credentials are only available whilst creating a deployment. Importing a deployment will not\nimport the \u003ccode\u003eelasticsearch_username\u003c/code\u003e or \u003ccode\u003eelasticsearch_password\u003c/code\u003e attributes. ~\u003e **Note on\ndeployment credentials in state** The \u003ccode\u003eelastic\u003c/code\u003e user credentials are stored in the state file as plain text.\nPlease follow the official Terraform recommendations regarding senstaive data in state.\n", "secret": true }, "elasticsearchUsername": { @@ -3009,6 +3963,10 @@ "$ref": "#/types/ec:index/DeploymentKibana:DeploymentKibana", "description": "Kibana cluster definition. -\u003e **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana\nblock, since not doing so might cause issues when modifying or upgrading the deployment.\n" }, + "migrateToLatestHardware": { + "type": "boolean", + "description": "When set to true, the deployment will be updated according to the latest deployment template values. ~\u003e **Note** If the\n\u003ccode\u003einstance_configuration_id\u003c/code\u003e or \u003ccode\u003einstance_configuration_version\u003c/code\u003e fields are set for a specific\ntopology element, that element will not be updated. ~\u003e **Note** Hardware migrations are not supported for deployments\nwith node types. To use this field, the deployment needs to be migrated to node roles first.\n" + }, "name": { "type": "string", "description": "Extension name.\n" @@ -3411,7 +4369,7 @@ } }, "ec:index/snapshotRepository:SnapshotRepository": { - "description": "Manages Elastic Cloud Enterprise snapshot repositories.\n\n \u003e **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.SnapshotRepository;\nimport com.pulumi.ec.SnapshotRepositoryArgs;\nimport com.pulumi.ec.inputs.SnapshotRepositoryS3Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new SnapshotRepository(\"this\", SnapshotRepositoryArgs.builder() \n .s3(SnapshotRepositoryS3Args.builder()\n .access_key(\"my-access-key\")\n .bucket(\"my-bucket\")\n .secret_key(\"my-secret-key\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: ec:SnapshotRepository\n properties:\n s3:\n access_key: my-access-key\n bucket: my-bucket\n secret_key: my-secret-key\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nYou can import snapshot repositories using the `name`, for example:\n\n```sh\n$ pulumi import ec:index/snapshotRepository:SnapshotRepository this my-snapshot-repository\n```\n\n", + "description": "Manages Elastic Cloud Enterprise snapshot repositories.\n\n \u003e **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository.\n\n## Example Usage\n\n### S3 style\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.SnapshotRepository;\nimport com.pulumi.ec.SnapshotRepositoryArgs;\nimport com.pulumi.ec.inputs.SnapshotRepositoryS3Args;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new SnapshotRepository(\"this\", SnapshotRepositoryArgs.builder() \n .s3(SnapshotRepositoryS3Args.builder()\n .access_key(\"my-access-key\")\n .bucket(\"my-bucket\")\n .secret_key(\"my-secret-key\")\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: ec:SnapshotRepository\n properties:\n s3:\n access_key: my-access-key\n bucket: my-bucket\n secret_key: my-secret-key\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### Azure\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ec from \"@pulumi/ec\";\n\nconst _this = new ec.SnapshotRepository(\"this\", {generic: {\n type: \"azure\",\n settings: JSON.stringify({\n container: \"my_container\",\n client: \"my_alternate_client\",\n compress: false,\n }),\n}});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_ec as ec\n\nthis = ec.SnapshotRepository(\"this\", generic=ec.SnapshotRepositoryGenericArgs(\n type=\"azure\",\n settings=json.dumps({\n \"container\": \"my_container\",\n \"client\": \"my_alternate_client\",\n \"compress\": False,\n }),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing ElasticCloud = Pulumi.ElasticCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new ElasticCloud.SnapshotRepository(\"this\", new()\n {\n Generic = new ElasticCloud.Inputs.SnapshotRepositoryGenericArgs\n {\n Type = \"azure\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"container\"] = \"my_container\",\n [\"client\"] = \"my_alternate_client\",\n [\"compress\"] = false,\n }),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-ec/sdk/go/ec\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"container\": \"my_container\",\n\t\t\t\"client\": \"my_alternate_client\",\n\t\t\t\"compress\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = ec.NewSnapshotRepository(ctx, \"this\", \u0026ec.SnapshotRepositoryArgs{\n\t\t\tGeneric: \u0026ec.SnapshotRepositoryGenericArgs{\n\t\t\t\tType: pulumi.String(\"azure\"),\n\t\t\t\tSettings: pulumi.String(json0),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.SnapshotRepository;\nimport com.pulumi.ec.SnapshotRepositoryArgs;\nimport com.pulumi.ec.inputs.SnapshotRepositoryGenericArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new SnapshotRepository(\"this\", SnapshotRepositoryArgs.builder() \n .generic(SnapshotRepositoryGenericArgs.builder()\n .type(\"azure\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"container\", \"my_container\"),\n jsonProperty(\"client\", \"my_alternate_client\"),\n jsonProperty(\"compress\", false)\n )))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: ec:SnapshotRepository\n properties:\n generic:\n type: azure\n settings:\n fn::toJSON:\n container: my_container\n client: my_alternate_client\n compress: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n### GCS\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ec from \"@pulumi/ec\";\n\nconst _this = new ec.SnapshotRepository(\"this\", {generic: {\n type: \"gcs\",\n settings: JSON.stringify({\n bucket: \"my_bucket\",\n client: \"my_alternate_client\",\n compress: false,\n }),\n}});\n```\n```python\nimport pulumi\nimport json\nimport pulumi_ec as ec\n\nthis = ec.SnapshotRepository(\"this\", generic=ec.SnapshotRepositoryGenericArgs(\n type=\"gcs\",\n settings=json.dumps({\n \"bucket\": \"my_bucket\",\n \"client\": \"my_alternate_client\",\n \"compress\": False,\n }),\n))\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Text.Json;\nusing Pulumi;\nusing ElasticCloud = Pulumi.ElasticCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var @this = new ElasticCloud.SnapshotRepository(\"this\", new()\n {\n Generic = new ElasticCloud.Inputs.SnapshotRepositoryGenericArgs\n {\n Type = \"gcs\",\n Settings = JsonSerializer.Serialize(new Dictionary\u003cstring, object?\u003e\n {\n [\"bucket\"] = \"my_bucket\",\n [\"client\"] = \"my_alternate_client\",\n [\"compress\"] = false,\n }),\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"encoding/json\"\n\n\t\"github.com/pulumi/pulumi-ec/sdk/go/ec\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\ttmpJSON0, err := json.Marshal(map[string]interface{}{\n\t\t\t\"bucket\": \"my_bucket\",\n\t\t\t\"client\": \"my_alternate_client\",\n\t\t\t\"compress\": false,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tjson0 := string(tmpJSON0)\n\t\t_, err = ec.NewSnapshotRepository(ctx, \"this\", \u0026ec.SnapshotRepositoryArgs{\n\t\t\tGeneric: \u0026ec.SnapshotRepositoryGenericArgs{\n\t\t\t\tType: pulumi.String(\"gcs\"),\n\t\t\t\tSettings: pulumi.String(json0),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.SnapshotRepository;\nimport com.pulumi.ec.SnapshotRepositoryArgs;\nimport com.pulumi.ec.inputs.SnapshotRepositoryGenericArgs;\nimport static com.pulumi.codegen.internal.Serialization.*;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n var this_ = new SnapshotRepository(\"this\", SnapshotRepositoryArgs.builder() \n .generic(SnapshotRepositoryGenericArgs.builder()\n .type(\"gcs\")\n .settings(serializeJson(\n jsonObject(\n jsonProperty(\"bucket\", \"my_bucket\"),\n jsonProperty(\"client\", \"my_alternate_client\"),\n jsonProperty(\"compress\", false)\n )))\n .build())\n .build());\n\n }\n}\n```\n```yaml\nresources:\n this:\n type: ec:SnapshotRepository\n properties:\n generic:\n type: gcs\n settings:\n fn::toJSON:\n bucket: my_bucket\n client: my_alternate_client\n compress: false\n```\n\u003c!--End PulumiCodeChooser --\u003e\n\n## Import\n\nYou can import snapshot repositories using the `name`, for example:\n\n```sh\n$ pulumi import ec:index/snapshotRepository:SnapshotRepository this my-snapshot-repository\n```\n\n", "properties": { "generic": { "$ref": "#/types/ec:index/SnapshotRepositoryGeneric:SnapshotRepositoryGeneric", @@ -3678,6 +4636,67 @@ ] } }, + "ec:index/getDeploymentTemplates:getDeploymentTemplates": { + "description": "Use this data source to retrieve a list of available deployment templates.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ec from \"@pulumi/ec\";\n\nconst example = ec.getDeploymentTemplates({\n region: \"us-east-1\",\n});\nconst myDeployment = new ec.Deployment(\"myDeployment\", {\n version: \"8.12.2\",\n region: data.ec_deployment_templates.all_templates.region,\n deploymentTemplateId: data.ec_deployment_templates.all_templates.templates[0].id,\n elasticsearch: {\n hot: {\n autoscaling: {},\n },\n },\n kibana: {},\n});\n```\n```python\nimport pulumi\nimport pulumi_ec as ec\n\nexample = ec.get_deployment_templates(region=\"us-east-1\")\nmy_deployment = ec.Deployment(\"myDeployment\",\n version=\"8.12.2\",\n region=data[\"ec_deployment_templates\"][\"all_templates\"][\"region\"],\n deployment_template_id=data[\"ec_deployment_templates\"][\"all_templates\"][\"templates\"][0][\"id\"],\n elasticsearch=ec.DeploymentElasticsearchArgs(\n hot=ec.DeploymentElasticsearchHotArgs(\n autoscaling=ec.DeploymentElasticsearchHotAutoscalingArgs(),\n ),\n ),\n kibana=ec.DeploymentKibanaArgs())\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing ElasticCloud = Pulumi.ElasticCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = ElasticCloud.GetDeploymentTemplates.Invoke(new()\n {\n Region = \"us-east-1\",\n });\n\n var myDeployment = new ElasticCloud.Deployment(\"myDeployment\", new()\n {\n Version = \"8.12.2\",\n Region = data.Ec_deployment_templates.All_templates.Region,\n DeploymentTemplateId = data.Ec_deployment_templates.All_templates.Templates[0].Id,\n Elasticsearch = new ElasticCloud.Inputs.DeploymentElasticsearchArgs\n {\n Hot = new ElasticCloud.Inputs.DeploymentElasticsearchHotArgs\n {\n Autoscaling = null,\n },\n },\n Kibana = null,\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-ec/sdk/go/ec\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec.GetDeploymentTemplates(ctx, \u0026ec.GetDeploymentTemplatesArgs{\n\t\t\tRegion: \"us-east-1\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = ec.NewDeployment(ctx, \"myDeployment\", \u0026ec.DeploymentArgs{\n\t\t\tVersion: pulumi.String(\"8.12.2\"),\n\t\t\tRegion: pulumi.Any(data.Ec_deployment_templates.All_templates.Region),\n\t\t\tDeploymentTemplateId: pulumi.Any(data.Ec_deployment_templates.All_templates.Templates[0].Id),\n\t\t\tElasticsearch: \u0026ec.DeploymentElasticsearchArgs{\n\t\t\t\tHot: \u0026ec.DeploymentElasticsearchHotArgs{\n\t\t\t\t\tAutoscaling: nil,\n\t\t\t\t},\n\t\t\t},\n\t\t\tKibana: nil,\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.EcFunctions;\nimport com.pulumi.ec.inputs.GetDeploymentTemplatesArgs;\nimport com.pulumi.ec.Deployment;\nimport com.pulumi.ec.DeploymentArgs;\nimport com.pulumi.ec.inputs.DeploymentElasticsearchArgs;\nimport com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs;\nimport com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs;\nimport com.pulumi.ec.inputs.DeploymentKibanaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = EcFunctions.getDeploymentTemplates(GetDeploymentTemplatesArgs.builder()\n .region(\"us-east-1\")\n .build());\n\n var myDeployment = new Deployment(\"myDeployment\", DeploymentArgs.builder() \n .version(\"8.12.2\")\n .region(data.ec_deployment_templates().all_templates().region())\n .deploymentTemplateId(data.ec_deployment_templates().all_templates().templates()[0].id())\n .elasticsearch(DeploymentElasticsearchArgs.builder()\n .hot(DeploymentElasticsearchHotArgs.builder()\n .autoscaling()\n .build())\n .build())\n .kibana()\n .build());\n\n }\n}\n```\n```yaml\nresources:\n myDeployment:\n type: ec:Deployment\n properties:\n version: 8.12.2\n region: ${data.ec_deployment_templates.all_templates.region}\n deploymentTemplateId: ${data.ec_deployment_templates.all_templates.templates[0].id}\n elasticsearch:\n hot:\n autoscaling: {}\n kibana: {}\nvariables:\n example:\n fn::invoke:\n Function: ec:getDeploymentTemplates\n Arguments:\n region: us-east-1\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", + "inputs": { + "description": "A collection of arguments for invoking getDeploymentTemplates.\n", + "properties": { + "id": { + "type": "string", + "description": "The id of the deployment template.\n" + }, + "region": { + "type": "string", + "description": "Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`.\n" + }, + "showDeprecated": { + "type": "boolean", + "description": "Enable to also show deprecated deployment templates. (Set to false by default.)\n" + }, + "stackVersion": { + "type": "string", + "description": "Filters for deployment templates compatible with this stack version.\n" + } + }, + "type": "object", + "required": [ + "region" + ] + }, + "outputs": { + "description": "A collection of values returned by getDeploymentTemplates.\n", + "properties": { + "id": { + "type": "string", + "description": "Filters for a deployment template with this id.\n" + }, + "region": { + "type": "string", + "description": "Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`.\n" + }, + "showDeprecated": { + "type": "boolean", + "description": "Enable to also show deprecated deployment templates. (Set to false by default.)\n" + }, + "stackVersion": { + "type": "string", + "description": "Filters for deployment templates compatible with this stack version.\n" + }, + "templates": { + "type": "array", + "items": { + "$ref": "#/types/ec:index/getDeploymentTemplatesTemplate:getDeploymentTemplatesTemplate" + }, + "description": "List of available deployment templates.\n" + } + }, + "type": "object", + "required": [ + "region", + "templates" + ] + } + }, "ec:index/getDeployments:getDeployments": { "description": "Use this data source to retrieve a list of IDs for the deployment and resource kinds, based on the specified query.\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as ec from \"@pulumi/ec\";\n\nconst example = ec.getDeployments({\n deploymentTemplateId: \"azure-compute-optimized\",\n elasticsearches: [{\n healthy: \"true\",\n }],\n enterpriseSearches: [{\n healthy: \"true\",\n }],\n integrationsServers: [{\n version: \"8.0.0\",\n }],\n kibanas: [{\n status: \"started\",\n }],\n namePrefix: \"test\",\n size: 200,\n tags: {\n foo: \"bar\",\n },\n});\n```\n```python\nimport pulumi\nimport pulumi_ec as ec\n\nexample = ec.get_deployments(deployment_template_id=\"azure-compute-optimized\",\n elasticsearches=[ec.GetDeploymentsElasticsearchArgs(\n healthy=\"true\",\n )],\n enterprise_searches=[ec.GetDeploymentsEnterpriseSearchArgs(\n healthy=\"true\",\n )],\n integrations_servers=[ec.GetDeploymentsIntegrationsServerArgs(\n version=\"8.0.0\",\n )],\n kibanas=[ec.GetDeploymentsKibanaArgs(\n status=\"started\",\n )],\n name_prefix=\"test\",\n size=200,\n tags={\n \"foo\": \"bar\",\n })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing ElasticCloud = Pulumi.ElasticCloud;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n var example = ElasticCloud.GetDeployments.Invoke(new()\n {\n DeploymentTemplateId = \"azure-compute-optimized\",\n Elasticsearches = new[]\n {\n new ElasticCloud.Inputs.GetDeploymentsElasticsearchInputArgs\n {\n Healthy = \"true\",\n },\n },\n EnterpriseSearches = new[]\n {\n new ElasticCloud.Inputs.GetDeploymentsEnterpriseSearchInputArgs\n {\n Healthy = \"true\",\n },\n },\n IntegrationsServers = new[]\n {\n new ElasticCloud.Inputs.GetDeploymentsIntegrationsServerInputArgs\n {\n Version = \"8.0.0\",\n },\n },\n Kibanas = new[]\n {\n new ElasticCloud.Inputs.GetDeploymentsKibanaInputArgs\n {\n Status = \"started\",\n },\n },\n NamePrefix = \"test\",\n Size = 200,\n Tags = \n {\n { \"foo\", \"bar\" },\n },\n });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-ec/sdk/go/ec\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := ec.GetDeployments(ctx, \u0026ec.GetDeploymentsArgs{\n\t\t\tDeploymentTemplateId: pulumi.StringRef(\"azure-compute-optimized\"),\n\t\t\tElasticsearches: []ec.GetDeploymentsElasticsearch{\n\t\t\t\t{\n\t\t\t\t\tHealthy: pulumi.StringRef(\"true\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tEnterpriseSearches: []ec.GetDeploymentsEnterpriseSearch{\n\t\t\t\t{\n\t\t\t\t\tHealthy: pulumi.StringRef(\"true\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tIntegrationsServers: []ec.GetDeploymentsIntegrationsServer{\n\t\t\t\t{\n\t\t\t\t\tVersion: pulumi.StringRef(\"8.0.0\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tKibanas: []ec.GetDeploymentsKibana{\n\t\t\t\t{\n\t\t\t\t\tStatus: pulumi.StringRef(\"started\"),\n\t\t\t\t},\n\t\t\t},\n\t\t\tNamePrefix: pulumi.StringRef(\"test\"),\n\t\t\tSize: pulumi.IntRef(200),\n\t\t\tTags: map[string]interface{}{\n\t\t\t\t\"foo\": \"bar\",\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.ec.EcFunctions;\nimport com.pulumi.ec.inputs.GetDeploymentsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n public static void main(String[] args) {\n Pulumi.run(App::stack);\n }\n\n public static void stack(Context ctx) {\n final var example = EcFunctions.getDeployments(GetDeploymentsArgs.builder()\n .deploymentTemplateId(\"azure-compute-optimized\")\n .elasticsearches(GetDeploymentsElasticsearchArgs.builder()\n .healthy(\"true\")\n .build())\n .enterpriseSearches(GetDeploymentsEnterpriseSearchArgs.builder()\n .healthy(\"true\")\n .build())\n .integrationsServers(GetDeploymentsIntegrationsServerArgs.builder()\n .version(\"8.0.0\")\n .build())\n .kibanas(GetDeploymentsKibanaArgs.builder()\n .status(\"started\")\n .build())\n .namePrefix(\"test\")\n .size(200)\n .tags(Map.of(\"foo\", \"bar\"))\n .build());\n\n }\n}\n```\n```yaml\nvariables:\n example:\n fn::invoke:\n Function: ec:getDeployments\n Arguments:\n deploymentTemplateId: azure-compute-optimized\n elasticsearches:\n - healthy: 'true'\n enterpriseSearches:\n - healthy: 'true'\n integrationsServers:\n - version: 8.0.0\n kibanas:\n - status: started\n namePrefix: test\n size: 200\n tags:\n foo: bar\n```\n\u003c!--End PulumiCodeChooser --\u003e\n", "inputs": { @@ -3726,6 +4745,10 @@ }, "description": "Filter by Kibana resource kind status or configuration.\n" }, + "name": { + "type": "string", + "description": "The name of the deployment.\n" + }, "namePrefix": { "type": "string", "description": "Prefix to filter the returned deployment list by.\n" @@ -3801,6 +4824,10 @@ }, "description": "Filter by Kibana resource kind status or configuration.\n" }, + "name": { + "type": "string", + "description": "Filter the result by the full deployment name.\n" + }, "namePrefix": { "type": "string", "description": "Prefix to filter the returned deployment list by.\n" diff --git a/provider/go.mod b/provider/go.mod index a980a4a4..0017a027 100644 --- a/provider/go.mod +++ b/provider/go.mod @@ -8,7 +8,7 @@ replace ( ) require ( - github.com/elastic/terraform-provider-ec v0.9.0 + github.com/elastic/terraform-provider-ec v0.10.0 github.com/pulumi/pulumi-terraform-bridge/pf v0.32.0 github.com/pulumi/pulumi-terraform-bridge/v3 v3.79.0 ) @@ -76,7 +76,7 @@ require ( github.com/deckarep/golang-set/v2 v2.5.0 // indirect github.com/djherbis/times v1.5.0 // indirect github.com/edsrzf/mmap-go v1.1.0 // indirect - github.com/elastic/cloud-sdk-go v1.13.0 // indirect + github.com/elastic/cloud-sdk-go v1.16.0 // indirect github.com/emirpasic/gods v1.18.1 // indirect github.com/ettle/strcase v0.1.1 // indirect github.com/fatih/color v1.16.0 // indirect @@ -86,18 +86,18 @@ require ( github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect github.com/go-git/go-billy/v5 v5.5.0 // indirect github.com/go-git/go-git/v5 v5.11.0 // indirect - github.com/go-logr/logr v1.3.0 // indirect + github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect - github.com/go-openapi/analysis v0.21.4 // indirect - github.com/go-openapi/errors v0.20.3 // indirect - github.com/go-openapi/jsonpointer v0.19.5 // indirect - github.com/go-openapi/jsonreference v0.20.0 // indirect - github.com/go-openapi/loads v0.21.2 // indirect - github.com/go-openapi/runtime v0.26.0 // indirect - github.com/go-openapi/spec v0.20.8 // indirect - github.com/go-openapi/strfmt v0.21.7 // indirect - github.com/go-openapi/swag v0.22.3 // indirect - github.com/go-openapi/validate v0.22.1 // indirect + github.com/go-openapi/analysis v0.23.0 // indirect + github.com/go-openapi/errors v0.22.0 // indirect + github.com/go-openapi/jsonpointer v0.21.0 // indirect + github.com/go-openapi/jsonreference v0.21.0 // indirect + github.com/go-openapi/loads v0.22.0 // indirect + github.com/go-openapi/runtime v0.28.0 // indirect + github.com/go-openapi/spec v0.21.0 // indirect + github.com/go-openapi/strfmt v0.23.0 // indirect + github.com/go-openapi/swag v0.23.0 // indirect + github.com/go-openapi/validate v0.24.0 // indirect github.com/gofrs/uuid v4.2.0+incompatible // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang-jwt/jwt/v5 v5.1.0 // indirect @@ -217,7 +217,7 @@ require ( github.com/spf13/cast v1.5.0 // indirect github.com/spf13/cobra v1.8.0 // indirect github.com/spf13/pflag v1.0.5 // indirect - github.com/stretchr/testify v1.8.4 // indirect + github.com/stretchr/testify v1.9.0 // indirect github.com/texttheater/golang-levenshtein v1.0.1 // indirect github.com/tweekmonster/luser v0.0.0-20161003172636-3fa38070dbd7 // indirect github.com/uber/jaeger-client-go v2.30.0+incompatible // indirect @@ -231,13 +231,13 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect github.com/xeipuuv/gojsonschema v1.2.0 // indirect github.com/zclconf/go-cty v1.14.2 // indirect - go.mongodb.org/mongo-driver v1.11.3 // indirect + go.mongodb.org/mongo-driver v1.14.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 // indirect - go.opentelemetry.io/otel v1.21.0 // indirect - go.opentelemetry.io/otel/metric v1.21.0 // indirect - go.opentelemetry.io/otel/trace v1.21.0 // indirect + go.opentelemetry.io/otel v1.24.0 // indirect + go.opentelemetry.io/otel/metric v1.24.0 // indirect + go.opentelemetry.io/otel/trace v1.24.0 // indirect go.uber.org/atomic v1.9.0 // indirect gocloud.dev v0.36.0 // indirect gocloud.dev/secrets/hashivault v0.27.0 // indirect diff --git a/provider/go.sum b/provider/go.sum index 9c7a80b1..b21330cd 100644 --- a/provider/go.sum +++ b/provider/go.sum @@ -732,10 +732,10 @@ github.com/eapache/queue v1.1.0/go.mod h1:6eCeP0CKFpHLu8blIFXhExK/dRa7WDZfr6jVFP github.com/edsrzf/mmap-go v1.0.0/go.mod h1:YO35OhQPt3KJa3ryjFM5Bs14WD66h8eGKpfaBNrHW5M= github.com/edsrzf/mmap-go v1.1.0 h1:6EUwBLQ/Mcr1EYLE4Tn1VdW1A4ckqCQWZBw8Hr0kjpQ= github.com/edsrzf/mmap-go v1.1.0/go.mod h1:19H/e8pUPLicwkyNgOykDXkJ9F0MHE+Z52B8EIth78Q= -github.com/elastic/cloud-sdk-go v1.13.0 h1:mngeBF+dobwinwkQUpSDjBqg1YN2q7TVgWEYMzREChk= -github.com/elastic/cloud-sdk-go v1.13.0/go.mod h1:dh2fVOBz598EslgiYW2az816DziJF5HQkzGOjf60Qj0= -github.com/elastic/terraform-provider-ec v0.9.0 h1:LGleiER4jzf5mKlCq/Hk+oq9JENg0PfFtl2N630s5rA= -github.com/elastic/terraform-provider-ec v0.9.0/go.mod h1:cQA4+SIEDiN6PFPBgFbKc/H7IlQcuRcwrxpgSNPdsN8= +github.com/elastic/cloud-sdk-go v1.16.0 h1:kpULwHy6AiB36n+IA0sq8v+yH7VV0r4YuezbB8AD2bQ= +github.com/elastic/cloud-sdk-go v1.16.0/go.mod h1:1FJKODMG9oCiBsZZmFC/a6GvAj+8BoFL8ULDI3bI00Q= +github.com/elastic/terraform-provider-ec v0.10.0 h1:6JZlZoXuZG7OjqTXZMsMn6iUWoyHiitMdi2JlU6fdbs= +github.com/elastic/terraform-provider-ec v0.10.0/go.mod h1:wF7509IRxWz6of2wihu+FwlbcVIyd5/kQaLib5A4ky0= github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a h1:mATvB/9r/3gvcejNsXKSkQ6lcIaNec2nyfOdlTBR2lU= github.com/elazarl/goproxy v0.0.0-20230808193330-2592e75ae04a/go.mod h1:Ro8st/ElPeALwNFlcTpWmkr6IoMFfkjXAvTHpevnDsM= @@ -837,60 +837,59 @@ github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbV github.com/go-logr/logr v1.2.1/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.3/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.0/go.mod h1:YkVgnZu1ZjjL7xTxrfm/LLZBfkhTqSR1ydtm6jTKKwI= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-openapi/analysis v0.21.2/go.mod h1:HZwRk4RRisyG8vx2Oe6aqeSQcoxRp47Xkp3+K6q+LdY= -github.com/go-openapi/analysis v0.21.4 h1:ZDFLvSNxpDaomuCueM0BlSXxpANBlFYiBvr+GXrvIHc= -github.com/go-openapi/analysis v0.21.4/go.mod h1:4zQ35W4neeZTqh3ol0rv/O8JBbka9QyAgQRPp9y3pfo= +github.com/go-openapi/analysis v0.23.0 h1:aGday7OWupfMs+LbmLZG4k0MYXIANxcuBTYUC03zFCU= +github.com/go-openapi/analysis v0.23.0/go.mod h1:9mz9ZWaSlV8TvjQHLl2mUW2PbZtemkE8yA5v22ohupo= github.com/go-openapi/errors v0.19.8/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/errors v0.19.9/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= github.com/go-openapi/errors v0.20.2/go.mod h1:cM//ZKUKyO06HSwqAelJ5NsEMMcpa6VpXe8DOa1Mi1M= -github.com/go-openapi/errors v0.20.3 h1:rz6kiC84sqNQoqrtulzaL/VERgkoCyB6WdEkc2ujzUc= -github.com/go-openapi/errors v0.20.3/go.mod h1:Z3FlZ4I8jEGxjUK+bugx3on2mIAk4txuAOhlsB1FSgk= +github.com/go-openapi/errors v0.22.0 h1:c4xY/OLxUBSTiepAg3j/MHuAv5mJhnf53LLMWFB+u/w= +github.com/go-openapi/errors v0.22.0/go.mod h1:J3DmZScxCDufmIMsdOuDHxJbdOGC0xtUynjIx092vXE= github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod h1:+35s3my2LFTysnkMfxsJBAMHj/DoqoB9knIWoYG/Vk0= github.com/go-openapi/jsonpointer v0.19.2/go.mod h1:3akKfEdA7DF1sugOqz1dVQHBcuDBPKZGEoHC/NkiQRg= github.com/go-openapi/jsonpointer v0.19.3/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= -github.com/go-openapi/jsonpointer v0.19.5 h1:gZr+CIYByUqjcgeLXnQu2gHYQC9o73G2XUeOFYEICuY= github.com/go-openapi/jsonpointer v0.19.5/go.mod h1:Pl9vOtqEWErmShwVjC8pYs9cog34VGT37dQOVbmoatg= +github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ= +github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY= github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod h1:W3Z9FmVs9qj+KR4zFKmDPGiLdk1D9Rlm7cyMvf57TTg= github.com/go-openapi/jsonreference v0.19.2/go.mod h1:jMjeRr2HHw6nAVajTXJ4eiUwohSTlpa0o73RUL1owJc= github.com/go-openapi/jsonreference v0.19.3/go.mod h1:rjx6GuL8TTa9VaixXglHmQmIL98+wF9xc8zWvFonSJ8= github.com/go-openapi/jsonreference v0.19.5/go.mod h1:RdybgQwPxbL4UEjuAruzK1x3nE69AqPYEJeo/TWfEeg= github.com/go-openapi/jsonreference v0.19.6/go.mod h1:diGHMEHg2IqXZGKxqyvWdfWU/aim5Dprw5bqpKkTvns= -github.com/go-openapi/jsonreference v0.20.0 h1:MYlu0sBgChmCfJxxUKZ8g1cPWFOB37YSZqewK7OKeyA= -github.com/go-openapi/jsonreference v0.20.0/go.mod h1:Ag74Ico3lPc+zR+qjn4XBUmXymS4zJbYVCZmcgkasdo= +github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ= +github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4= github.com/go-openapi/loads v0.21.1/go.mod h1:/DtAMXXneXFjbQMGEtbamCZb+4x7eGwkvZCvBmwUG+g= -github.com/go-openapi/loads v0.21.2 h1:r2a/xFIYeZ4Qd2TnGpWDIQNcP80dIaZgf704za8enro= -github.com/go-openapi/loads v0.21.2/go.mod h1:Jq58Os6SSGz0rzh62ptiu8Z31I+OTHqmULx5e/gJbNw= +github.com/go-openapi/loads v0.22.0 h1:ECPGd4jX1U6NApCGG1We+uEozOAvXvJSF4nnwHZ8Aco= +github.com/go-openapi/loads v0.22.0/go.mod h1:yLsaTCS92mnSAZX5WWoxszLj0u+Ojl+Zs5Stn1oF+rs= github.com/go-openapi/runtime v0.23.1/go.mod h1:AKurw9fNre+h3ELZfk6ILsfvPN+bvvlaU/M9q/r9hpk= -github.com/go-openapi/runtime v0.26.0 h1:HYOFtG00FM1UvqrcxbEJg/SwvDRvYLQKGhw2zaQjTcc= -github.com/go-openapi/runtime v0.26.0/go.mod h1:QgRGeZwrUcSHdeh4Ka9Glvo0ug1LC5WyE+EV88plZrQ= +github.com/go-openapi/runtime v0.28.0 h1:gpPPmWSNGo214l6n8hzdXYhPuJcGtziTOgUpvsFWGIQ= +github.com/go-openapi/runtime v0.28.0/go.mod h1:QN7OzcS+XuYmkQLw05akXk0jRH/eZ3kb18+1KwW9gyc= github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod h1:J8+jY1nAiCcj+friV/PDoE1/3eeccG9LYBs0tYvLOWc= github.com/go-openapi/spec v0.19.3/go.mod h1:FpwSN1ksY1eteniUU7X0N/BgJ7a4WvBFVA8Lj9mJglo= github.com/go-openapi/spec v0.20.4/go.mod h1:faYFR1CvsJZ0mNsmsphTMSoRrNV3TEDoAM7FOEWeq8I= -github.com/go-openapi/spec v0.20.6/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= -github.com/go-openapi/spec v0.20.8 h1:ubHmXNY3FCIOinT8RNrrPfGc9t7I1qhPtdOGoG2AxRU= -github.com/go-openapi/spec v0.20.8/go.mod h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA= +github.com/go-openapi/spec v0.21.0 h1:LTVzPc3p/RzRnkQqLRndbAzjY0d0BCL72A6j3CdL9ZY= +github.com/go-openapi/spec v0.21.0/go.mod h1:78u6VdPw81XU44qEWGhtr982gJ5BWg2c0I5XwVMotYk= github.com/go-openapi/strfmt v0.21.0/go.mod h1:ZRQ409bWMj+SOgXofQAGTIo2Ebu72Gs+WaRADcS5iNg= github.com/go-openapi/strfmt v0.21.1/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= github.com/go-openapi/strfmt v0.21.2/go.mod h1:I/XVKeLc5+MM5oPNN7P6urMOpuLXEcNrCX/rPGuWb0k= -github.com/go-openapi/strfmt v0.21.3/go.mod h1:k+RzNO0Da+k3FrrynSNN8F7n/peCmQQqbbXjtDfvmGg= -github.com/go-openapi/strfmt v0.21.7 h1:rspiXgNWgeUzhjo1YU01do6qsahtJNByjLVbPLNHb8k= -github.com/go-openapi/strfmt v0.21.7/go.mod h1:adeGTkxE44sPyLk0JV235VQAO/ZXUr8KAzYjclFs3ew= +github.com/go-openapi/strfmt v0.23.0 h1:nlUS6BCqcnAk0pyhi9Y+kdDVZdZMHfEKQiS4HaMgO/c= +github.com/go-openapi/strfmt v0.23.0/go.mod h1:NrtIpfKtWIygRkKVsxh7XQMDQW5HKQl6S5ik2elW+K4= github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod h1:DXUve3Dpr1UfpPtxFw+EFuQ41HhCWZfha5jSVRG7C7I= github.com/go-openapi/swag v0.19.2/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.5/go.mod h1:POnQmlKehdgb5mhVOsnJFsivZCEZ/vjK9gh66Z9tfKk= github.com/go-openapi/swag v0.19.14/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.19.15/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= github.com/go-openapi/swag v0.21.1/go.mod h1:QYRuS/SOXUCsnplDa677K7+DxSOj6IPNl/eQntq43wQ= -github.com/go-openapi/swag v0.22.3 h1:yMBqmnQ0gyZvEb/+KzuWZOXgllrXT4SADYbvDaXHv/g= -github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14= +github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE= +github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ= github.com/go-openapi/validate v0.21.0/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= -github.com/go-openapi/validate v0.22.1 h1:G+c2ub6q47kfX1sOBLwIQwzBVt8qmOAARyo/9Fqs9NU= -github.com/go-openapi/validate v0.22.1/go.mod h1:rjnrwK57VJ7A8xqfpAOEKRH8yQSGUriMu5/zuPSQ1hg= +github.com/go-openapi/validate v0.24.0 h1:LdfDKwNbpB6Vn40xhTdNZAnfLECL81w+VX3BumrGD58= +github.com/go-openapi/validate v0.24.0/go.mod h1:iyeX1sEufmv3nPbBdX3ieNviWnOZaJ1+zquzJEf2BAQ= github.com/go-playground/assert/v2 v2.0.1/go.mod h1:VDjEfimB/XKnb+ZQfWdccd7VUvScMdVu0Titje2rxJ4= github.com/go-playground/locales v0.13.0/go.mod h1:taPMhCMXrRLJO55olJkUXHZBHCxTMfnGwq/HNwmWNS8= github.com/go-playground/universal-translator v0.17.0/go.mod h1:UkSxE5sNxxRwHyU+Scu5vgOQjsIJAF8j9muTVoKLVtA= @@ -1256,6 +1255,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwU github.com/hashicorp/terraform-plugin-sdk v1.9.1 h1:AgHnd6yPCg7o57XWrv4L7tIMdF0KQpcZro1pDHF1Xbw= github.com/hashicorp/terraform-plugin-sdk v1.9.1/go.mod h1:C/AXwmDHqbc3h6URiHpIsVKrwV4PS0Sh0+VTaeEkShw= github.com/hashicorp/terraform-plugin-test v1.2.0/go.mod h1:QIJHYz8j+xJtdtLrFTlzQVC0ocr3rf/OjIpgZLK56Hs= +github.com/hashicorp/terraform-plugin-testing v1.5.1 h1:T4aQh9JAhmWo4+t1A7x+rnxAJHCDIYW9kXyo4sVO92c= +github.com/hashicorp/terraform-plugin-testing v1.5.1/go.mod h1:dg8clO6K59rZ8w9EshBmDp1CxTIPu3yA4iaDpX1h5u0= github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI= github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM= github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596/go.mod h1:kNDNcF7sN4DocDLBkQYz73HGKwN1ANB1blq4lIYLYvg= @@ -1879,8 +1880,9 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+ github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= -github.com/stretchr/objx v0.5.0 h1:1zr/of2m5FGMsad5YfcqgdqdWrIhu+EBEJRhR1U7z/c= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= +github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= github.com/stretchr/testify v0.0.0-20180303142811-b89eecf5ca5d/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= @@ -1893,8 +1895,8 @@ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1F github.com/stretchr/testify v1.7.5/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= -github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= +github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= +github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= github.com/subosito/gotenv v1.2.0/go.mod h1:N0PQaV/YGNqwC0u51sEeR/aUtSLEXKX9iv69rRypqCw= github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= github.com/syndtr/gocapability v0.0.0-20180916011248-d98352740cb2/go.mod h1:hkRG7XYTFWNJGYcbNJQlaLq0fg1yr4J4t/NcTQtrfww= @@ -1903,7 +1905,6 @@ github.com/tchap/go-patricia v2.2.6+incompatible/go.mod h1:bmLyhP68RS6kStMGxByiQ github.com/tedsuo/ifrit v0.0.0-20180802180643-bea94bb476cc/go.mod h1:eyZnKCc955uh98WQvzOm0dgAeLnf2O0Rz0LPoC5ze+0= github.com/texttheater/golang-levenshtein v1.0.1 h1:+cRNoVrfiwufQPhoMzB6N0Yf/Mqajr6t1lOv8GyGE2U= github.com/texttheater/golang-levenshtein v1.0.1/go.mod h1:PYAKrbF5sAiq9wd+H82hs7gNaen0CplQ9uvm6+enD/8= -github.com/tidwall/pretty v1.0.0 h1:HsD+QiTn7sK6flMKIvNmpqz1qrpP3Ps6jOKIKMooyg4= github.com/tidwall/pretty v1.0.0/go.mod h1:XNkn88O1ChpSDQmQeStsy+sBenx6DDtFZJxhVysOjyk= github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= github.com/tmc/grpc-websocket-proxy v0.0.0-20190109142713-0ad062ec5ee5/go.mod h1:ncp9v5uamzpCO7NfCPTXjqaC+bZgJeR0sMTm6dMHP7U= @@ -1949,9 +1950,7 @@ github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw= github.com/xdg-go/pbkdf2 v1.0.0/go.mod h1:jrpuAogTd400dnrH08LKmI/xc1MbPOebTwRqcT5RDeI= github.com/xdg-go/scram v1.0.2/go.mod h1:1WAq6h33pAW+iRreB34OORO2Nf7qel3VV3fjBj+hCSs= -github.com/xdg-go/scram v1.1.1/go.mod h1:RaEWvsqvNKKvBPvcKeFjrG2cJqOkHTiyTpzz23ni57g= github.com/xdg-go/stringprep v1.0.2/go.mod h1:8F9zXuvzgwmyT5DUm4GUfZGDdT3W+LCvS6+da4O5kxM= -github.com/xdg-go/stringprep v1.0.3/go.mod h1:W3f5j4i+9rC0kuIEJL0ky1VpHXQU3ocBgklLGvcBnW8= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod h1:N2zxlSyiKSe5eX1tZViRH5QA0qijqEDrYZiPEAiq3wU= github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 h1:EzJWgHovont7NscjpAxXsDA8S8BMYve8Y5+7cuRE7R0= @@ -1997,9 +1996,8 @@ go.etcd.io/etcd/server/v3 v3.5.0/go.mod h1:3Ah5ruV+M+7RZr0+Y/5mNLwC+eQlni+mQmOVd go.mongodb.org/mongo-driver v1.7.3/go.mod h1:NqaYOwnXWr5Pm7AOpO5QFxKJ503nbMse/R79oO62zWg= go.mongodb.org/mongo-driver v1.7.5/go.mod h1:VXEWRZ6URJIkUq2SCAyapmhH0ZLRBP+FT4xhp5Zvxng= go.mongodb.org/mongo-driver v1.8.3/go.mod h1:0sQWfOeY63QTntERDJJ/0SuKK0T1uVSgKCuAROlKEPY= -go.mongodb.org/mongo-driver v1.10.0/go.mod h1:wsihk0Kdgv8Kqu1Anit4sfK+22vSFbUrAVEYRhCXrA8= -go.mongodb.org/mongo-driver v1.11.3 h1:Ql6K6qYHEzB6xvu4+AU0BoRoqf9vFPcc4o7MUIdPW8Y= -go.mongodb.org/mongo-driver v1.11.3/go.mod h1:PTSz5yu21bkT/wXpkS7WR5f0ddqw5quethTUn9WM+2g= +go.mongodb.org/mongo-driver v1.14.0 h1:P98w8egYRjYe3XDjxhYJagTokP/H6HzlsnojRgZRd80= +go.mongodb.org/mongo-driver v1.14.0/go.mod h1:Vzb0Mk/pa7e6cWw85R4F/endUC3u0U9jGcNU603k65c= go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1/go.mod h1:SNgMg+EgDFwmvSmLRTNKC5fegJjB7v23qTQ0XLGUNHk= go.opencensus.io v0.15.0/go.mod h1:UffZAU+4sDEINUGP/B7UfBBkq4fqLu9zXAX7ke6CHW0= go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk= @@ -2028,8 +2026,8 @@ go.opentelemetry.io/otel v1.3.0/go.mod h1:PWIKzi6JCp7sM0k9yZ43VX+T345uNbAkDKwHVj go.opentelemetry.io/otel v1.6.0/go.mod h1:bfJD2DZVw0LBxghOTlgnlI0CV3hLDu9XF/QKOUXMTQQ= go.opentelemetry.io/otel v1.6.1/go.mod h1:blzUabWHkX6LJewxvadmzafgh/wnvBSDBdOuwkAtrWQ= go.opentelemetry.io/otel v1.7.0/go.mod h1:5BdUoMIz5WEs0vt0CUEMtSSaTSHBBVwrhnz7+nrD5xk= -go.opentelemetry.io/otel v1.21.0 h1:hzLeKBZEL7Okw2mGzZ0cc4k/A7Fta0uoPgaJCr8fsFc= -go.opentelemetry.io/otel v1.21.0/go.mod h1:QZzNPQPm1zLX4gZK4cMi+71eaorMSGT3A4znnUvNNEo= +go.opentelemetry.io/otel v1.24.0 h1:0LAOdjNmQeSTzGBzduGe/rU4tZhMwL5rWgtp9Ku5Jfo= +go.opentelemetry.io/otel v1.24.0/go.mod h1:W7b9Ozg4nkF5tWI5zsXkaKKDjdVjpD4oAt9Qi/MArHo= go.opentelemetry.io/otel/exporters/otlp v0.20.0/go.mod h1:YIieizyaN77rtLJra0buKiNBOm9XQfkPEKBeuhoMwAM= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.3.0/go.mod h1:VpP4/RMn8bv8gNo9uK7/IMY4mtWLELsS+JIP0inH0h4= go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.6.1/go.mod h1:NEu79Xo32iVb+0gVNV8PMd7GoWqnyDXRlj04yFjqz40= @@ -2046,15 +2044,15 @@ go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.7.0/go.mod h1 go.opentelemetry.io/otel/metric v0.20.0/go.mod h1:598I5tYlH1vzBjn+BTuhzTCSb/9debfNp6R3s7Pr1eU= go.opentelemetry.io/otel/metric v0.28.0/go.mod h1:TrzsfQAmQaB1PDcdhBauLMk7nyyg9hm+GoQq/ekE9Iw= go.opentelemetry.io/otel/metric v0.30.0/go.mod h1:/ShZ7+TS4dHzDFmfi1kSXMhMVubNoP0oIaBp70J6UXU= -go.opentelemetry.io/otel/metric v1.21.0 h1:tlYWfeo+Bocx5kLEloTjbcDwBuELRrIFxwdQ36PlJu4= -go.opentelemetry.io/otel/metric v1.21.0/go.mod h1:o1p3CA8nNHW8j5yuQLdc1eeqEaPfzug24uvsyIEJRWM= +go.opentelemetry.io/otel/metric v1.24.0 h1:6EhoGWWK28x1fbpA4tYTOWBkPefTDQnb8WSGXlc88kI= +go.opentelemetry.io/otel/metric v1.24.0/go.mod h1:VYhLe1rFfxuTXLgj4CBiyz+9WYBA8pNGJgDcSFRKBco= go.opentelemetry.io/otel/oteltest v0.20.0/go.mod h1:L7bgKf9ZB7qCwT9Up7i9/pn0PWIa9FqQ2IQ8LoxiGnw= go.opentelemetry.io/otel/sdk v0.20.0/go.mod h1:g/IcepuwNsoiX5Byy2nNV0ySUF1em498m7hBWC279Yc= go.opentelemetry.io/otel/sdk v1.3.0/go.mod h1:rIo4suHNhQwBIPg9axF8V9CA72Wz2mKF1teNrup8yzs= go.opentelemetry.io/otel/sdk v1.6.1/go.mod h1:IVYrddmFZ+eJqu2k38qD3WezFR2pymCzm8tdxyh3R4E= go.opentelemetry.io/otel/sdk v1.7.0/go.mod h1:uTEOTwaqIVuTGiJN7ii13Ibp75wJmYUDe374q6cZwUU= -go.opentelemetry.io/otel/sdk v1.21.0 h1:FTt8qirL1EysG6sTQRZ5TokkU8d0ugCj8htOgThZXQ8= -go.opentelemetry.io/otel/sdk v1.21.0/go.mod h1:Nna6Yv7PWTdgJHVRD9hIYywQBRx7pbox6nwBnZIxl/E= +go.opentelemetry.io/otel/sdk v1.24.0 h1:YMPPDNymmQN3ZgczicBY3B6sf9n62Dlj9pWD3ucgoDw= +go.opentelemetry.io/otel/sdk v1.24.0/go.mod h1:KVrIYw6tEubO9E96HQpcmpTKDVn9gdv35HoYiQWGDFg= go.opentelemetry.io/otel/sdk/export/metric v0.20.0/go.mod h1:h7RBNMsDJ5pmI1zExLi+bJK+Dr8NQCh0qGhm1KDnNlE= go.opentelemetry.io/otel/sdk/metric v0.20.0/go.mod h1:knxiS8Xd4E/N+ZqKmUPf3gTTZ4/0TjTXukfxjzSTpHE= go.opentelemetry.io/otel/trace v0.20.0/go.mod h1:6GjCW8zgDjwGHGa6GkyeB8+/5vjT16gUEi0Nf1iBdgw= @@ -2062,8 +2060,8 @@ go.opentelemetry.io/otel/trace v1.3.0/go.mod h1:c/VDhno8888bvQYmbYLqe41/Ldmr/KKu go.opentelemetry.io/otel/trace v1.6.0/go.mod h1:qs7BrU5cZ8dXQHBGxHMOxwME/27YH2qEp4/+tZLLwJE= go.opentelemetry.io/otel/trace v1.6.1/go.mod h1:RkFRM1m0puWIq10oxImnGEduNBzxiN7TXluRBtE+5j0= go.opentelemetry.io/otel/trace v1.7.0/go.mod h1:fzLSB9nqR2eXzxPXb2JW9IKE+ScyXA48yyE4TNvoHqU= -go.opentelemetry.io/otel/trace v1.21.0 h1:WD9i5gzvoUPuXIXH24ZNBudiarZDKuekPqi/E8fpfLc= -go.opentelemetry.io/otel/trace v1.21.0/go.mod h1:LGbsEB0f9LGjN+OZaQQ26sohbOmiMR+BaslueVtS/qQ= +go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI= +go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU= go.opentelemetry.io/proto/otlp v0.7.0/go.mod h1:PqfVotwruBrMGOCsRd/89rSnXhoiJIqeYNgFYFoEGnI= go.opentelemetry.io/proto/otlp v0.11.0/go.mod h1:QpEjXPrNQzrFDZgoTo49dgHR9RYRSrg3NAKnUGl9YpQ= go.opentelemetry.io/proto/otlp v0.12.1/go.mod h1:H7XAot3MsfNsj7EXtrA2q5xSNQ10UqI405h3+duxN4U= diff --git a/sdk/dotnet/Deployment.cs b/sdk/dotnet/Deployment.cs index 18082f47..5f79d7a5 100644 --- a/sdk/dotnet/Deployment.cs +++ b/sdk/dotnet/Deployment.cs @@ -28,6 +28,8 @@ namespace Pulumi.ElasticCloud /// /// ### With Cross Cluster Search settings /// + /// ### With Keystore + /// /// ## Import /// /// ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -77,7 +79,9 @@ public partial class Deployment : global::Pulumi.CustomResource /// /// Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The /// <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - /// import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + /// import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + /// deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + /// Please follow the official Terraform recommendations regarding senstaive data in state. /// [Output("elasticsearchPassword")] public Output ElasticsearchPassword { get; private set; } = null!; @@ -107,6 +111,15 @@ public partial class Deployment : global::Pulumi.CustomResource [Output("kibana")] public Output Kibana { get; private set; } = null!; + /// + /// When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + /// <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + /// topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + /// with node types. To use this field, the deployment needs to be migrated to node roles first. + /// + [Output("migrateToLatestHardware")] + public Output MigrateToLatestHardware { get; private set; } = null!; + /// /// Extension name. /// @@ -252,6 +265,15 @@ public sealed class DeploymentArgs : global::Pulumi.ResourceArgs [Input("kibana")] public Input? Kibana { get; set; } + /// + /// When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + /// <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + /// topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + /// with node types. To use this field, the deployment needs to be migrated to node roles first. + /// + [Input("migrateToLatestHardware")] + public Input? MigrateToLatestHardware { get; set; } + /// /// Extension name. /// @@ -365,7 +387,9 @@ public Input? ApmSecretToken /// /// Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The /// <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - /// import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + /// import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + /// deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + /// Please follow the official Terraform recommendations regarding senstaive data in state. /// public Input? ElasticsearchPassword { @@ -402,6 +426,15 @@ public Input? ElasticsearchPassword [Input("kibana")] public Input? Kibana { get; set; } + /// + /// When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + /// <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + /// topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + /// with node types. To use this field, the deployment needs to be migrated to node roles first. + /// + [Input("migrateToLatestHardware")] + public Input? MigrateToLatestHardware { get; set; } + /// /// Extension name. /// diff --git a/sdk/dotnet/GetDeploymentTemplates.cs b/sdk/dotnet/GetDeploymentTemplates.cs new file mode 100644 index 00000000..b38e8c55 --- /dev/null +++ b/sdk/dotnet/GetDeploymentTemplates.cs @@ -0,0 +1,206 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud +{ + public static class GetDeploymentTemplates + { + /// + /// Use this data source to retrieve a list of available deployment templates. + /// + /// ## Example Usage + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using ElasticCloud = Pulumi.ElasticCloud; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = ElasticCloud.GetDeploymentTemplates.Invoke(new() + /// { + /// Region = "us-east-1", + /// }); + /// + /// var myDeployment = new ElasticCloud.Deployment("myDeployment", new() + /// { + /// Version = "8.12.2", + /// Region = data.Ec_deployment_templates.All_templates.Region, + /// DeploymentTemplateId = data.Ec_deployment_templates.All_templates.Templates[0].Id, + /// Elasticsearch = new ElasticCloud.Inputs.DeploymentElasticsearchArgs + /// { + /// Hot = new ElasticCloud.Inputs.DeploymentElasticsearchHotArgs + /// { + /// Autoscaling = null, + /// }, + /// }, + /// Kibana = null, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + public static Task InvokeAsync(GetDeploymentTemplatesArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.InvokeAsync("ec:index/getDeploymentTemplates:getDeploymentTemplates", args ?? new GetDeploymentTemplatesArgs(), options.WithDefaults()); + + /// + /// Use this data source to retrieve a list of available deployment templates. + /// + /// ## Example Usage + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using Pulumi; + /// using ElasticCloud = Pulumi.ElasticCloud; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var example = ElasticCloud.GetDeploymentTemplates.Invoke(new() + /// { + /// Region = "us-east-1", + /// }); + /// + /// var myDeployment = new ElasticCloud.Deployment("myDeployment", new() + /// { + /// Version = "8.12.2", + /// Region = data.Ec_deployment_templates.All_templates.Region, + /// DeploymentTemplateId = data.Ec_deployment_templates.All_templates.Templates[0].Id, + /// Elasticsearch = new ElasticCloud.Inputs.DeploymentElasticsearchArgs + /// { + /// Hot = new ElasticCloud.Inputs.DeploymentElasticsearchHotArgs + /// { + /// Autoscaling = null, + /// }, + /// }, + /// Kibana = null, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + public static Output Invoke(GetDeploymentTemplatesInvokeArgs args, InvokeOptions? options = null) + => global::Pulumi.Deployment.Instance.Invoke("ec:index/getDeploymentTemplates:getDeploymentTemplates", args ?? new GetDeploymentTemplatesInvokeArgs(), options.WithDefaults()); + } + + + public sealed class GetDeploymentTemplatesArgs : global::Pulumi.InvokeArgs + { + /// + /// The id of the deployment template. + /// + [Input("id")] + public string? Id { get; set; } + + /// + /// Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + /// + [Input("region", required: true)] + public string Region { get; set; } = null!; + + /// + /// Enable to also show deprecated deployment templates. (Set to false by default.) + /// + [Input("showDeprecated")] + public bool? ShowDeprecated { get; set; } + + /// + /// Filters for deployment templates compatible with this stack version. + /// + [Input("stackVersion")] + public string? StackVersion { get; set; } + + public GetDeploymentTemplatesArgs() + { + } + public static new GetDeploymentTemplatesArgs Empty => new GetDeploymentTemplatesArgs(); + } + + public sealed class GetDeploymentTemplatesInvokeArgs : global::Pulumi.InvokeArgs + { + /// + /// The id of the deployment template. + /// + [Input("id")] + public Input? Id { get; set; } + + /// + /// Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + /// + [Input("region", required: true)] + public Input Region { get; set; } = null!; + + /// + /// Enable to also show deprecated deployment templates. (Set to false by default.) + /// + [Input("showDeprecated")] + public Input? ShowDeprecated { get; set; } + + /// + /// Filters for deployment templates compatible with this stack version. + /// + [Input("stackVersion")] + public Input? StackVersion { get; set; } + + public GetDeploymentTemplatesInvokeArgs() + { + } + public static new GetDeploymentTemplatesInvokeArgs Empty => new GetDeploymentTemplatesInvokeArgs(); + } + + + [OutputType] + public sealed class GetDeploymentTemplatesResult + { + /// + /// Filters for a deployment template with this id. + /// + public readonly string? Id; + /// + /// Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + /// + public readonly string Region; + /// + /// Enable to also show deprecated deployment templates. (Set to false by default.) + /// + public readonly bool? ShowDeprecated; + /// + /// Filters for deployment templates compatible with this stack version. + /// + public readonly string? StackVersion; + /// + /// List of available deployment templates. + /// + public readonly ImmutableArray Templates; + + [OutputConstructor] + private GetDeploymentTemplatesResult( + string? id, + + string region, + + bool? showDeprecated, + + string? stackVersion, + + ImmutableArray templates) + { + Id = id; + Region = region; + ShowDeprecated = showDeprecated; + StackVersion = stackVersion; + Templates = templates; + } + } +} diff --git a/sdk/dotnet/GetDeployments.cs b/sdk/dotnet/GetDeployments.cs index 837f1c86..18b19e98 100644 --- a/sdk/dotnet/GetDeployments.cs +++ b/sdk/dotnet/GetDeployments.cs @@ -207,6 +207,12 @@ public List Kibanas set => _kibanas = value; } + /// + /// The name of the deployment. + /// + [Input("name")] + public string? Name { get; set; } + /// /// Prefix to filter the returned deployment list by. /// @@ -311,6 +317,12 @@ public InputList Kibanas set => _kibanas = value; } + /// + /// The name of the deployment. + /// + [Input("name")] + public Input? Name { get; set; } + /// /// Prefix to filter the returned deployment list by. /// @@ -382,6 +394,10 @@ public sealed class GetDeploymentsResult /// public readonly ImmutableArray Kibanas; /// + /// Filter the result by the full deployment name. + /// + public readonly string? Name; + /// /// Prefix to filter the returned deployment list by. /// public readonly string? NamePrefix; @@ -418,6 +434,8 @@ private GetDeploymentsResult( ImmutableArray kibanas, + string? name, + string? namePrefix, int returnCount, @@ -435,6 +453,7 @@ private GetDeploymentsResult( Id = id; IntegrationsServers = integrationsServers; Kibanas = kibanas; + Name = name; NamePrefix = namePrefix; ReturnCount = returnCount; Size = size; diff --git a/sdk/dotnet/Inputs/DeploymentApmArgs.cs b/sdk/dotnet/Inputs/DeploymentApmArgs.cs index 57c8de41..4c171e8e 100644 --- a/sdk/dotnet/Inputs/DeploymentApmArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentApmArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentApmArgs : global::Pulumi.ResourceArgs [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentApmGetArgs.cs b/sdk/dotnet/Inputs/DeploymentApmGetArgs.cs index 4cdf2613..6ebc86c2 100644 --- a/sdk/dotnet/Inputs/DeploymentApmGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentApmGetArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentApmGetArgs : global::Pulumi.ResourceArgs [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchColdArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchColdArgs.cs index 26db3cd6..f70e7500 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchColdArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchColdArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchColdArgs : global::Pulumi.ResourceArg public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingArgs.cs index 90b25971..6a9e2c05 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchColdAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingGetArgs.cs index 538074ff..2bfb8d5d 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchColdAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchColdAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchColdGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchColdGetArgs.cs index 38e1b70d..ff28cec7 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchColdGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchColdGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchColdGetArgs : global::Pulumi.Resource public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingArgs.cs index 605b4114..796b0b45 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchCoordinatingArgs : global::Pulumi.Res public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.cs index 1a901938..cfb518bf 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchCoordinatingAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingGetArgs.cs index fcbba024..57fafe48 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchCoordinatingAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingGetArgs.cs index 2ae7033e..91ddc749 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchCoordinatingGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchCoordinatingGetArgs : global::Pulumi. public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenArgs.cs index 5da3edbb..d4e61331 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchFrozenArgs : global::Pulumi.ResourceA public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingArgs.cs index a623b13c..ff2b4044 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchFrozenAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingGetArgs.cs index 550f6ae4..2ed931f7 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchFrozenAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenGetArgs.cs index 8971c3a9..57555315 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchFrozenGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchFrozenGetArgs : global::Pulumi.Resour public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchHotArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchHotArgs.cs index 8ae0c710..98d1e9b4 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchHotArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchHotArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchHotArgs : global::Pulumi.ResourceArgs public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingArgs.cs index d6253bc8..4c37a42d 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchHotAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingGetArgs.cs index 6dee8a7c..864037b2 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchHotAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchHotAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchHotGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchHotGetArgs.cs index 435a1f23..d617affc 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchHotGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchHotGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchHotGetArgs : global::Pulumi.ResourceA public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterArgs.cs index 6f485df8..dd09dc69 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchMasterArgs : global::Pulumi.ResourceA public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingArgs.cs index 414764c9..5eeb6559 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchMasterAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingGetArgs.cs index 9d0ef13f..95ee62a1 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchMasterAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterGetArgs.cs index d0e3fdaf..747a549f 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMasterGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMasterGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchMasterGetArgs : global::Pulumi.Resour public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMlArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMlArgs.cs index d3049352..aea83cf1 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMlArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMlArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchMlArgs : global::Pulumi.ResourceArgs public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingArgs.cs index 0a550457..ad9cab83 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchMlAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingGetArgs.cs index 9e557e09..bdb198a3 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMlAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchMlAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchMlGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchMlGetArgs.cs index 4c611021..b3f607f4 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchMlGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchMlGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchMlGetArgs : global::Pulumi.ResourceAr public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmArgs.cs index 00677d8d..1aa469bb 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchWarmArgs : global::Pulumi.ResourceArg public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingArgs.cs index 635fe602..113e9fea 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchWarmAutoscalingArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingGetArgs.cs index 2cbd9d7f..4c40af25 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmAutoscalingGetArgs.cs @@ -12,6 +12,12 @@ namespace Pulumi.ElasticCloud.Inputs public sealed class DeploymentElasticsearchWarmAutoscalingGetArgs : global::Pulumi.ResourceArgs { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + [Input("autoscale")] + public Input? Autoscale { get; set; } + /// /// Maximum size value for the maximum autoscaling setting. /// diff --git a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmGetArgs.cs b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmGetArgs.cs index cf99bbef..e8b2c0f2 100644 --- a/sdk/dotnet/Inputs/DeploymentElasticsearchWarmGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentElasticsearchWarmGetArgs.cs @@ -19,11 +19,29 @@ public sealed class DeploymentElasticsearchWarmGetArgs : global::Pulumi.Resource public Input Autoscaling { get; set; } = null!; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + /// + /// Instance Configuration version of the topology element + /// + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeRoles")] private InputList? _nodeRoles; diff --git a/sdk/dotnet/Inputs/DeploymentEnterpriseSearchArgs.cs b/sdk/dotnet/Inputs/DeploymentEnterpriseSearchArgs.cs index bcfaf8c4..791c5d3e 100644 --- a/sdk/dotnet/Inputs/DeploymentEnterpriseSearchArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentEnterpriseSearchArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentEnterpriseSearchArgs : global::Pulumi.ResourceArgs [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeTypeAppserver")] public Input? NodeTypeAppserver { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentEnterpriseSearchGetArgs.cs b/sdk/dotnet/Inputs/DeploymentEnterpriseSearchGetArgs.cs index 5e45dd7e..efcd6e57 100644 --- a/sdk/dotnet/Inputs/DeploymentEnterpriseSearchGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentEnterpriseSearchGetArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentEnterpriseSearchGetArgs : global::Pulumi.ResourceA [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("nodeTypeAppserver")] public Input? NodeTypeAppserver { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentIntegrationsServerArgs.cs b/sdk/dotnet/Inputs/DeploymentIntegrationsServerArgs.cs index 7dc6670e..de2406f8 100644 --- a/sdk/dotnet/Inputs/DeploymentIntegrationsServerArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentIntegrationsServerArgs.cs @@ -36,6 +36,15 @@ public sealed class DeploymentIntegrationsServerArgs : global::Pulumi.ResourceAr [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsArgs.cs b/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsArgs.cs index 8e6de24d..cf73610c 100644 --- a/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsArgs.cs @@ -18,6 +18,12 @@ public sealed class DeploymentIntegrationsServerEndpointsArgs : global::Pulumi.R [Input("fleet", required: true)] public Input Fleet { get; set; } = null!; + [Input("profiling", required: true)] + public Input Profiling { get; set; } = null!; + + [Input("symbols", required: true)] + public Input Symbols { get; set; } = null!; + public DeploymentIntegrationsServerEndpointsArgs() { } diff --git a/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsGetArgs.cs b/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsGetArgs.cs index 3e5d12b2..59ee789c 100644 --- a/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentIntegrationsServerEndpointsGetArgs.cs @@ -18,6 +18,12 @@ public sealed class DeploymentIntegrationsServerEndpointsGetArgs : global::Pulum [Input("fleet", required: true)] public Input Fleet { get; set; } = null!; + [Input("profiling", required: true)] + public Input Profiling { get; set; } = null!; + + [Input("symbols", required: true)] + public Input Symbols { get; set; } = null!; + public DeploymentIntegrationsServerEndpointsGetArgs() { } diff --git a/sdk/dotnet/Inputs/DeploymentIntegrationsServerGetArgs.cs b/sdk/dotnet/Inputs/DeploymentIntegrationsServerGetArgs.cs index 3fa72ad1..0cbd1a60 100644 --- a/sdk/dotnet/Inputs/DeploymentIntegrationsServerGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentIntegrationsServerGetArgs.cs @@ -36,6 +36,15 @@ public sealed class DeploymentIntegrationsServerGetArgs : global::Pulumi.Resourc [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentKibanaArgs.cs b/sdk/dotnet/Inputs/DeploymentKibanaArgs.cs index 04283b39..4d5b78d9 100644 --- a/sdk/dotnet/Inputs/DeploymentKibanaArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentKibanaArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentKibanaArgs : global::Pulumi.ResourceArgs [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Inputs/DeploymentKibanaGetArgs.cs b/sdk/dotnet/Inputs/DeploymentKibanaGetArgs.cs index 0179f6e3..a17cc870 100644 --- a/sdk/dotnet/Inputs/DeploymentKibanaGetArgs.cs +++ b/sdk/dotnet/Inputs/DeploymentKibanaGetArgs.cs @@ -30,6 +30,15 @@ public sealed class DeploymentKibanaGetArgs : global::Pulumi.ResourceArgs [Input("instanceConfigurationId")] public Input? InstanceConfigurationId { get; set; } + [Input("instanceConfigurationVersion")] + public Input? InstanceConfigurationVersion { get; set; } + + [Input("latestInstanceConfigurationId")] + public Input? LatestInstanceConfigurationId { get; set; } + + [Input("latestInstanceConfigurationVersion")] + public Input? LatestInstanceConfigurationVersion { get; set; } + [Input("refId")] public Input? RefId { get; set; } diff --git a/sdk/dotnet/Outputs/DeploymentApm.cs b/sdk/dotnet/Outputs/DeploymentApm.cs index 3bb589ce..fcd23ee7 100644 --- a/sdk/dotnet/Outputs/DeploymentApm.cs +++ b/sdk/dotnet/Outputs/DeploymentApm.cs @@ -21,6 +21,9 @@ public sealed class DeploymentApm public readonly string? HttpEndpoint; public readonly string? HttpsEndpoint; public readonly string? InstanceConfigurationId; + public readonly int? InstanceConfigurationVersion; + public readonly string? LatestInstanceConfigurationId; + public readonly int? LatestInstanceConfigurationVersion; public readonly string? RefId; public readonly string? Region; public readonly string? ResourceId; @@ -43,6 +46,12 @@ private DeploymentApm( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + string? refId, string? region, @@ -60,6 +69,9 @@ private DeploymentApm( HttpEndpoint = httpEndpoint; HttpsEndpoint = httpsEndpoint; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; RefId = refId; Region = region; ResourceId = resourceId; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchCold.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchCold.cs index 2fac6ccd..74b82bcc 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchCold.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchCold.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchCold /// public readonly Outputs.DeploymentElasticsearchColdAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchCold( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchCold( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchColdAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchColdAutoscaling.cs index 000b6843..c8647f54 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchColdAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchColdAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchColdAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchColdAutoscaling [OutputConstructor] private DeploymentElasticsearchColdAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchColdAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinating.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinating.cs index 9061ae6b..00189997 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinating.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinating.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchCoordinating /// public readonly Outputs.DeploymentElasticsearchCoordinatingAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchCoordinating( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchCoordinating( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinatingAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinatingAutoscaling.cs index 1344b06f..0c2a2060 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinatingAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchCoordinatingAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchCoordinatingAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchCoordinatingAutoscaling [OutputConstructor] private DeploymentElasticsearchCoordinatingAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchCoordinatingAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchFrozen.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchFrozen.cs index 181c3fa8..29b005fc 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchFrozen.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchFrozen.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchFrozen /// public readonly Outputs.DeploymentElasticsearchFrozenAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchFrozen( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchFrozen( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchFrozenAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchFrozenAutoscaling.cs index 5ef0237f..f58665d1 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchFrozenAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchFrozenAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchFrozenAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchFrozenAutoscaling [OutputConstructor] private DeploymentElasticsearchFrozenAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchFrozenAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchHot.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchHot.cs index 9838d809..c0e2d906 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchHot.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchHot.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchHot /// public readonly Outputs.DeploymentElasticsearchHotAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchHot( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchHot( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchHotAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchHotAutoscaling.cs index 9f3964e2..5fb3fe37 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchHotAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchHotAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchHotAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchHotAutoscaling [OutputConstructor] private DeploymentElasticsearchHotAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchHotAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchMaster.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchMaster.cs index 19b80225..76615148 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchMaster.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchMaster.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchMaster /// public readonly Outputs.DeploymentElasticsearchMasterAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchMaster( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchMaster( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchMasterAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchMasterAutoscaling.cs index 8db060ad..b9126585 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchMasterAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchMasterAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchMasterAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchMasterAutoscaling [OutputConstructor] private DeploymentElasticsearchMasterAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchMasterAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchMl.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchMl.cs index 57e5a0a8..f5de43d3 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchMl.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchMl.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchMl /// public readonly Outputs.DeploymentElasticsearchMlAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchMl( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchMl( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchMlAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchMlAutoscaling.cs index e3c28dbf..ec76010d 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchMlAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchMlAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchMlAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchMlAutoscaling [OutputConstructor] private DeploymentElasticsearchMlAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchMlAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchWarm.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchWarm.cs index b6f102dd..563f1fb4 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchWarm.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchWarm.cs @@ -18,10 +18,22 @@ public sealed class DeploymentElasticsearchWarm /// public readonly Outputs.DeploymentElasticsearchWarmAutoscaling Autoscaling; /// - /// Computed Instance Configuration ID of the topology element + /// Instance Configuration ID of the topology element /// public readonly string? InstanceConfigurationId; /// + /// Instance Configuration version of the topology element + /// + public readonly int? InstanceConfigurationVersion; + /// + /// Latest Instance Configuration ID available on the deployment template for the topology element + /// + public readonly string? LatestInstanceConfigurationId; + /// + /// Latest version available for the Instance Configuration with the latest_instance_configuration_id + /// + public readonly int? LatestInstanceConfigurationVersion; + /// /// The computed list of node roles for the current topology element /// public readonly ImmutableArray NodeRoles; @@ -60,6 +72,12 @@ private DeploymentElasticsearchWarm( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + ImmutableArray nodeRoles, string? nodeTypeData, @@ -78,6 +96,9 @@ private DeploymentElasticsearchWarm( { Autoscaling = autoscaling; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeRoles = nodeRoles; NodeTypeData = nodeTypeData; NodeTypeIngest = nodeTypeIngest; diff --git a/sdk/dotnet/Outputs/DeploymentElasticsearchWarmAutoscaling.cs b/sdk/dotnet/Outputs/DeploymentElasticsearchWarmAutoscaling.cs index d325ad78..863beb3c 100644 --- a/sdk/dotnet/Outputs/DeploymentElasticsearchWarmAutoscaling.cs +++ b/sdk/dotnet/Outputs/DeploymentElasticsearchWarmAutoscaling.cs @@ -13,6 +13,10 @@ namespace Pulumi.ElasticCloud.Outputs [OutputType] public sealed class DeploymentElasticsearchWarmAutoscaling { + /// + /// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + /// + public readonly bool? Autoscale; /// /// Maximum size value for the maximum autoscaling setting. /// @@ -36,6 +40,8 @@ public sealed class DeploymentElasticsearchWarmAutoscaling [OutputConstructor] private DeploymentElasticsearchWarmAutoscaling( + bool? autoscale, + string? maxSize, string? maxSizeResource, @@ -46,6 +52,7 @@ private DeploymentElasticsearchWarmAutoscaling( string? policyOverrideJson) { + Autoscale = autoscale; MaxSize = maxSize; MaxSizeResource = maxSizeResource; MinSize = minSize; diff --git a/sdk/dotnet/Outputs/DeploymentEnterpriseSearch.cs b/sdk/dotnet/Outputs/DeploymentEnterpriseSearch.cs index a9cc41c8..f10d0ccf 100644 --- a/sdk/dotnet/Outputs/DeploymentEnterpriseSearch.cs +++ b/sdk/dotnet/Outputs/DeploymentEnterpriseSearch.cs @@ -21,6 +21,9 @@ public sealed class DeploymentEnterpriseSearch public readonly string? HttpEndpoint; public readonly string? HttpsEndpoint; public readonly string? InstanceConfigurationId; + public readonly int? InstanceConfigurationVersion; + public readonly string? LatestInstanceConfigurationId; + public readonly int? LatestInstanceConfigurationVersion; public readonly bool? NodeTypeAppserver; public readonly bool? NodeTypeConnector; public readonly bool? NodeTypeWorker; @@ -46,6 +49,12 @@ private DeploymentEnterpriseSearch( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + bool? nodeTypeAppserver, bool? nodeTypeConnector, @@ -69,6 +78,9 @@ private DeploymentEnterpriseSearch( HttpEndpoint = httpEndpoint; HttpsEndpoint = httpsEndpoint; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; NodeTypeAppserver = nodeTypeAppserver; NodeTypeConnector = nodeTypeConnector; NodeTypeWorker = nodeTypeWorker; diff --git a/sdk/dotnet/Outputs/DeploymentIntegrationsServer.cs b/sdk/dotnet/Outputs/DeploymentIntegrationsServer.cs index ede5a350..f5bbf790 100644 --- a/sdk/dotnet/Outputs/DeploymentIntegrationsServer.cs +++ b/sdk/dotnet/Outputs/DeploymentIntegrationsServer.cs @@ -25,6 +25,9 @@ public sealed class DeploymentIntegrationsServer public readonly string? HttpEndpoint; public readonly string? HttpsEndpoint; public readonly string? InstanceConfigurationId; + public readonly int? InstanceConfigurationVersion; + public readonly string? LatestInstanceConfigurationId; + public readonly int? LatestInstanceConfigurationVersion; public readonly string? RefId; public readonly string? Region; public readonly string? ResourceId; @@ -49,6 +52,12 @@ private DeploymentIntegrationsServer( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + string? refId, string? region, @@ -67,6 +76,9 @@ private DeploymentIntegrationsServer( HttpEndpoint = httpEndpoint; HttpsEndpoint = httpsEndpoint; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; RefId = refId; Region = region; ResourceId = resourceId; diff --git a/sdk/dotnet/Outputs/DeploymentIntegrationsServerEndpoints.cs b/sdk/dotnet/Outputs/DeploymentIntegrationsServerEndpoints.cs index 35772bd1..b34ba96e 100644 --- a/sdk/dotnet/Outputs/DeploymentIntegrationsServerEndpoints.cs +++ b/sdk/dotnet/Outputs/DeploymentIntegrationsServerEndpoints.cs @@ -15,15 +15,23 @@ public sealed class DeploymentIntegrationsServerEndpoints { public readonly string Apm; public readonly string Fleet; + public readonly string Profiling; + public readonly string Symbols; [OutputConstructor] private DeploymentIntegrationsServerEndpoints( string apm, - string fleet) + string fleet, + + string profiling, + + string symbols) { Apm = apm; Fleet = fleet; + Profiling = profiling; + Symbols = symbols; } } } diff --git a/sdk/dotnet/Outputs/DeploymentKibana.cs b/sdk/dotnet/Outputs/DeploymentKibana.cs index 8eadebdf..dc708b38 100644 --- a/sdk/dotnet/Outputs/DeploymentKibana.cs +++ b/sdk/dotnet/Outputs/DeploymentKibana.cs @@ -21,6 +21,9 @@ public sealed class DeploymentKibana public readonly string? HttpEndpoint; public readonly string? HttpsEndpoint; public readonly string? InstanceConfigurationId; + public readonly int? InstanceConfigurationVersion; + public readonly string? LatestInstanceConfigurationId; + public readonly int? LatestInstanceConfigurationVersion; public readonly string? RefId; public readonly string? Region; public readonly string? ResourceId; @@ -43,6 +46,12 @@ private DeploymentKibana( string? instanceConfigurationId, + int? instanceConfigurationVersion, + + string? latestInstanceConfigurationId, + + int? latestInstanceConfigurationVersion, + string? refId, string? region, @@ -60,6 +69,9 @@ private DeploymentKibana( HttpEndpoint = httpEndpoint; HttpsEndpoint = httpsEndpoint; InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + LatestInstanceConfigurationId = latestInstanceConfigurationId; + LatestInstanceConfigurationVersion = latestInstanceConfigurationVersion; RefId = refId; Region = region; ResourceId = resourceId; diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateApmResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateApmResult.cs new file mode 100644 index 00000000..4c6268fc --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateApmResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateApmResult + { + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateApmResult( + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult.cs new file mode 100644 index 00000000..5a30bbd3 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdResult.cs new file mode 100644 index 00000000..84a74c90 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchColdResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchColdResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchColdResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult.cs new file mode 100644 index 00000000..8d0f42c4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult.cs new file mode 100644 index 00000000..c20c3fbe --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult.cs new file mode 100644 index 00000000..c0ea5bdc --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenResult.cs new file mode 100644 index 00000000..35ac5ee4 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchFrozenResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchFrozenResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult.cs new file mode 100644 index 00000000..5a2bf036 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotResult.cs new file mode 100644 index 00000000..09e891e6 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchHotResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchHotResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchHotResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult.cs new file mode 100644 index 00000000..05291492 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterResult.cs new file mode 100644 index 00000000..38c0714d --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMasterResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchMasterResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchMasterResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult.cs new file mode 100644 index 00000000..52d89366 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlResult.cs new file mode 100644 index 00000000..21606483 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchMlResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchMlResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchMlResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchResult.cs new file mode 100644 index 00000000..bc5364aa --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchResult.cs @@ -0,0 +1,74 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchResult + { + public readonly bool Autoscale; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchColdResult Cold; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult Coordinating; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenResult Frozen; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchHotResult Hot; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchMasterResult Master; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchMlResult Ml; + /// + /// Defines the default configuration for each topology. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchWarmResult Warm; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchResult( + bool autoscale, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchColdResult cold, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult coordinating, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenResult frozen, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchHotResult hot, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchMasterResult master, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchMlResult ml, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchWarmResult warm) + { + Autoscale = autoscale; + Cold = cold; + Coordinating = coordinating; + Frozen = frozen; + Hot = hot; + Master = master; + Ml = ml; + Warm = warm; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult.cs new file mode 100644 index 00000000..da70da25 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult + { + public readonly bool Autoscale; + public readonly string MaxSize; + public readonly string MaxSizeResource; + public readonly string MinSize; + public readonly string MinSizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult( + bool autoscale, + + string maxSize, + + string maxSizeResource, + + string minSize, + + string minSizeResource) + { + Autoscale = autoscale; + MaxSize = maxSize; + MaxSizeResource = maxSizeResource; + MinSize = minSize; + MinSizeResource = minSizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmResult.cs new file mode 100644 index 00000000..23b33f0c --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateElasticsearchWarmResult.cs @@ -0,0 +1,45 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateElasticsearchWarmResult + { + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult Autoscaling; + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateElasticsearchWarmResult( + Outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult autoscaling, + + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + Autoscaling = autoscaling; + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateEnterpriseSearchResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateEnterpriseSearchResult.cs new file mode 100644 index 00000000..c2a7f86b --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateEnterpriseSearchResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateEnterpriseSearchResult + { + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateEnterpriseSearchResult( + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateIntegrationsServerResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateIntegrationsServerResult.cs new file mode 100644 index 00000000..23233cf1 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateIntegrationsServerResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateIntegrationsServerResult + { + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateIntegrationsServerResult( + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateKibanaResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateKibanaResult.cs new file mode 100644 index 00000000..4cb25d89 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateKibanaResult.cs @@ -0,0 +1,41 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateKibanaResult + { + public readonly ImmutableArray AvailableSizes; + public readonly string DefaultSize; + public readonly string InstanceConfigurationId; + public readonly double InstanceConfigurationVersion; + public readonly string SizeResource; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateKibanaResult( + ImmutableArray availableSizes, + + string defaultSize, + + string instanceConfigurationId, + + double instanceConfigurationVersion, + + string sizeResource) + { + AvailableSizes = availableSizes; + DefaultSize = defaultSize; + InstanceConfigurationId = instanceConfigurationId; + InstanceConfigurationVersion = instanceConfigurationVersion; + SizeResource = sizeResource; + } + } +} diff --git a/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateResult.cs b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateResult.cs new file mode 100644 index 00000000..6b068233 --- /dev/null +++ b/sdk/dotnet/Outputs/GetDeploymentTemplatesTemplateResult.cs @@ -0,0 +1,91 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +using System; +using System.Collections.Generic; +using System.Collections.Immutable; +using System.Threading.Tasks; +using Pulumi.Serialization; + +namespace Pulumi.ElasticCloud.Outputs +{ + + [OutputType] + public sealed class GetDeploymentTemplatesTemplateResult + { + /// + /// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + /// + public readonly Outputs.GetDeploymentTemplatesTemplateApmResult Apm; + /// + /// Outdated templates are marked as deprecated, but can still be used. + /// + public readonly bool Deprecated; + /// + /// The description of the deployment template. + /// + public readonly string Description; + /// + /// Defines the default configuration for Elasticsearch. + /// + public readonly Outputs.GetDeploymentTemplatesTemplateElasticsearchResult Elasticsearch; + /// + /// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + /// + public readonly Outputs.GetDeploymentTemplatesTemplateEnterpriseSearchResult EnterpriseSearch; + /// + /// The id of the deployment template. + /// + public readonly string Id; + /// + /// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + /// + public readonly Outputs.GetDeploymentTemplatesTemplateIntegrationsServerResult IntegrationsServer; + /// + /// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + /// + public readonly Outputs.GetDeploymentTemplatesTemplateKibanaResult Kibana; + /// + /// The minimum stack version that can used with this deployment template. + /// + public readonly string MinStackVersion; + /// + /// The name of the deployment template. + /// + public readonly string Name; + + [OutputConstructor] + private GetDeploymentTemplatesTemplateResult( + Outputs.GetDeploymentTemplatesTemplateApmResult apm, + + bool deprecated, + + string description, + + Outputs.GetDeploymentTemplatesTemplateElasticsearchResult elasticsearch, + + Outputs.GetDeploymentTemplatesTemplateEnterpriseSearchResult enterpriseSearch, + + string id, + + Outputs.GetDeploymentTemplatesTemplateIntegrationsServerResult integrationsServer, + + Outputs.GetDeploymentTemplatesTemplateKibanaResult kibana, + + string minStackVersion, + + string name) + { + Apm = apm; + Deprecated = deprecated; + Description = description; + Elasticsearch = elasticsearch; + EnterpriseSearch = enterpriseSearch; + Id = id; + IntegrationsServer = integrationsServer; + Kibana = kibana; + MinStackVersion = minStackVersion; + Name = name; + } + } +} diff --git a/sdk/dotnet/SnapshotRepository.cs b/sdk/dotnet/SnapshotRepository.cs index 5f1ea933..de46e6f7 100644 --- a/sdk/dotnet/SnapshotRepository.cs +++ b/sdk/dotnet/SnapshotRepository.cs @@ -14,6 +14,68 @@ namespace Pulumi.ElasticCloud /// /// > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository. /// + /// ## Example Usage + /// + /// ### Azure + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using ElasticCloud = Pulumi.ElasticCloud; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new ElasticCloud.SnapshotRepository("this", new() + /// { + /// Generic = new ElasticCloud.Inputs.SnapshotRepositoryGenericArgs + /// { + /// Type = "azure", + /// Settings = JsonSerializer.Serialize(new Dictionary<string, object?> + /// { + /// ["container"] = "my_container", + /// ["client"] = "my_alternate_client", + /// ["compress"] = false, + /// }), + /// }, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// + /// ### GCS + /// + /// <!--Start PulumiCodeChooser --> + /// ```csharp + /// using System.Collections.Generic; + /// using System.Linq; + /// using System.Text.Json; + /// using Pulumi; + /// using ElasticCloud = Pulumi.ElasticCloud; + /// + /// return await Deployment.RunAsync(() => + /// { + /// var @this = new ElasticCloud.SnapshotRepository("this", new() + /// { + /// Generic = new ElasticCloud.Inputs.SnapshotRepositoryGenericArgs + /// { + /// Type = "gcs", + /// Settings = JsonSerializer.Serialize(new Dictionary<string, object?> + /// { + /// ["bucket"] = "my_bucket", + /// ["client"] = "my_alternate_client", + /// ["compress"] = false, + /// }), + /// }, + /// }); + /// + /// }); + /// ``` + /// <!--End PulumiCodeChooser --> + /// /// ## Import /// /// You can import snapshot repositories using the `name`, for example: diff --git a/sdk/go/ec/deployment.go b/sdk/go/ec/deployment.go index 7c596e4c..03e1fe42 100644 --- a/sdk/go/ec/deployment.go +++ b/sdk/go/ec/deployment.go @@ -30,6 +30,8 @@ import ( // // ### With Cross Cluster Search settings // +// ### With Keystore +// // ## Import // // ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -59,7 +61,9 @@ type Deployment struct { Elasticsearch DeploymentElasticsearchOutput `pulumi:"elasticsearch"` // Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The // elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - // import the elasticsearch_username or elasticsearch_password attributes. + // import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + // deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + // Please follow the official Terraform recommendations regarding senstaive data in state. ElasticsearchPassword pulumi.StringOutput `pulumi:"elasticsearchPassword"` // Username for authenticating to the Elasticsearch resource. ElasticsearchUsername pulumi.StringOutput `pulumi:"elasticsearchUsername"` @@ -70,6 +74,11 @@ type Deployment struct { // Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana // block, since not doing so might cause issues when modifying or upgrading the deployment. Kibana DeploymentKibanaPtrOutput `pulumi:"kibana"` + // When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + // instance_configuration_id or instance_configuration_version fields are set for a specific + // topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + // with node types. To use this field, the deployment needs to be migrated to node roles first. + MigrateToLatestHardware pulumi.BoolPtrOutput `pulumi:"migrateToLatestHardware"` // Extension name. Name pulumi.StringOutput `pulumi:"name"` // Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the @@ -149,7 +158,9 @@ type deploymentState struct { Elasticsearch *DeploymentElasticsearch `pulumi:"elasticsearch"` // Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The // elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - // import the elasticsearch_username or elasticsearch_password attributes. + // import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + // deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + // Please follow the official Terraform recommendations regarding senstaive data in state. ElasticsearchPassword *string `pulumi:"elasticsearchPassword"` // Username for authenticating to the Elasticsearch resource. ElasticsearchUsername *string `pulumi:"elasticsearchUsername"` @@ -160,6 +171,11 @@ type deploymentState struct { // Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana // block, since not doing so might cause issues when modifying or upgrading the deployment. Kibana *DeploymentKibana `pulumi:"kibana"` + // When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + // instance_configuration_id or instance_configuration_version fields are set for a specific + // topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + // with node types. To use this field, the deployment needs to be migrated to node roles first. + MigrateToLatestHardware *bool `pulumi:"migrateToLatestHardware"` // Extension name. Name *string `pulumi:"name"` // Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the @@ -193,7 +209,9 @@ type DeploymentState struct { Elasticsearch DeploymentElasticsearchPtrInput // Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The // elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - // import the elasticsearch_username or elasticsearch_password attributes. + // import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + // deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + // Please follow the official Terraform recommendations regarding senstaive data in state. ElasticsearchPassword pulumi.StringPtrInput // Username for authenticating to the Elasticsearch resource. ElasticsearchUsername pulumi.StringPtrInput @@ -204,6 +222,11 @@ type DeploymentState struct { // Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana // block, since not doing so might cause issues when modifying or upgrading the deployment. Kibana DeploymentKibanaPtrInput + // When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + // instance_configuration_id or instance_configuration_version fields are set for a specific + // topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + // with node types. To use this field, the deployment needs to be migrated to node roles first. + MigrateToLatestHardware pulumi.BoolPtrInput // Extension name. Name pulumi.StringPtrInput // Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the @@ -245,6 +268,11 @@ type deploymentArgs struct { // Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana // block, since not doing so might cause issues when modifying or upgrading the deployment. Kibana *DeploymentKibana `pulumi:"kibana"` + // When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + // instance_configuration_id or instance_configuration_version fields are set for a specific + // topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + // with node types. To use this field, the deployment needs to be migrated to node roles first. + MigrateToLatestHardware *bool `pulumi:"migrateToLatestHardware"` // Extension name. Name *string `pulumi:"name"` // Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the @@ -283,6 +311,11 @@ type DeploymentArgs struct { // Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana // block, since not doing so might cause issues when modifying or upgrading the deployment. Kibana DeploymentKibanaPtrInput + // When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + // instance_configuration_id or instance_configuration_version fields are set for a specific + // topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + // with node types. To use this field, the deployment needs to be migrated to node roles first. + MigrateToLatestHardware pulumi.BoolPtrInput // Extension name. Name pulumi.StringPtrInput // Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the @@ -417,7 +450,9 @@ func (o DeploymentOutput) Elasticsearch() DeploymentElasticsearchOutput { // Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The // elastic user credentials are only available whilst creating a deployment. Importing a deployment will not -// import the elasticsearch_username or elasticsearch_password attributes. +// import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on +// deployment credentials in state** The elastic user credentials are stored in the state file as plain text. +// Please follow the official Terraform recommendations regarding senstaive data in state. func (o DeploymentOutput) ElasticsearchPassword() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.ElasticsearchPassword }).(pulumi.StringOutput) } @@ -443,6 +478,14 @@ func (o DeploymentOutput) Kibana() DeploymentKibanaPtrOutput { return o.ApplyT(func(v *Deployment) DeploymentKibanaPtrOutput { return v.Kibana }).(DeploymentKibanaPtrOutput) } +// When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the +// instance_configuration_id or instance_configuration_version fields are set for a specific +// topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments +// with node types. To use this field, the deployment needs to be migrated to node roles first. +func (o DeploymentOutput) MigrateToLatestHardware() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *Deployment) pulumi.BoolPtrOutput { return v.MigrateToLatestHardware }).(pulumi.BoolPtrOutput) +} + // Extension name. func (o DeploymentOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Deployment) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) diff --git a/sdk/go/ec/getDeploymentTemplates.go b/sdk/go/ec/getDeploymentTemplates.go new file mode 100644 index 00000000..7fc5f95e --- /dev/null +++ b/sdk/go/ec/getDeploymentTemplates.go @@ -0,0 +1,164 @@ +// Code generated by the Pulumi Terraform Bridge (tfgen) Tool DO NOT EDIT. +// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! *** + +package ec + +import ( + "context" + "reflect" + + "github.com/pulumi/pulumi-ec/sdk/go/ec/internal" + "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +) + +// Use this data source to retrieve a list of available deployment templates. +// +// ## Example Usage +// +// +// ```go +// package main +// +// import ( +// +// "github.com/pulumi/pulumi-ec/sdk/go/ec" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// _, err := ec.GetDeploymentTemplates(ctx, &ec.GetDeploymentTemplatesArgs{ +// Region: "us-east-1", +// }, nil) +// if err != nil { +// return err +// } +// _, err = ec.NewDeployment(ctx, "myDeployment", &ec.DeploymentArgs{ +// Version: pulumi.String("8.12.2"), +// Region: pulumi.Any(data.Ec_deployment_templates.All_templates.Region), +// DeploymentTemplateId: pulumi.Any(data.Ec_deployment_templates.All_templates.Templates[0].Id), +// Elasticsearch: &ec.DeploymentElasticsearchArgs{ +// Hot: &ec.DeploymentElasticsearchHotArgs{ +// Autoscaling: nil, +// }, +// }, +// Kibana: nil, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +func GetDeploymentTemplates(ctx *pulumi.Context, args *GetDeploymentTemplatesArgs, opts ...pulumi.InvokeOption) (*GetDeploymentTemplatesResult, error) { + opts = internal.PkgInvokeDefaultOpts(opts) + var rv GetDeploymentTemplatesResult + err := ctx.Invoke("ec:index/getDeploymentTemplates:getDeploymentTemplates", args, &rv, opts...) + if err != nil { + return nil, err + } + return &rv, nil +} + +// A collection of arguments for invoking getDeploymentTemplates. +type GetDeploymentTemplatesArgs struct { + // The id of the deployment template. + Id *string `pulumi:"id"` + // Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + Region string `pulumi:"region"` + // Enable to also show deprecated deployment templates. (Set to false by default.) + ShowDeprecated *bool `pulumi:"showDeprecated"` + // Filters for deployment templates compatible with this stack version. + StackVersion *string `pulumi:"stackVersion"` +} + +// A collection of values returned by getDeploymentTemplates. +type GetDeploymentTemplatesResult struct { + // Filters for a deployment template with this id. + Id *string `pulumi:"id"` + // Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + Region string `pulumi:"region"` + // Enable to also show deprecated deployment templates. (Set to false by default.) + ShowDeprecated *bool `pulumi:"showDeprecated"` + // Filters for deployment templates compatible with this stack version. + StackVersion *string `pulumi:"stackVersion"` + // List of available deployment templates. + Templates []GetDeploymentTemplatesTemplate `pulumi:"templates"` +} + +func GetDeploymentTemplatesOutput(ctx *pulumi.Context, args GetDeploymentTemplatesOutputArgs, opts ...pulumi.InvokeOption) GetDeploymentTemplatesResultOutput { + return pulumi.ToOutputWithContext(context.Background(), args). + ApplyT(func(v interface{}) (GetDeploymentTemplatesResult, error) { + args := v.(GetDeploymentTemplatesArgs) + r, err := GetDeploymentTemplates(ctx, &args, opts...) + var s GetDeploymentTemplatesResult + if r != nil { + s = *r + } + return s, err + }).(GetDeploymentTemplatesResultOutput) +} + +// A collection of arguments for invoking getDeploymentTemplates. +type GetDeploymentTemplatesOutputArgs struct { + // The id of the deployment template. + Id pulumi.StringPtrInput `pulumi:"id"` + // Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + Region pulumi.StringInput `pulumi:"region"` + // Enable to also show deprecated deployment templates. (Set to false by default.) + ShowDeprecated pulumi.BoolPtrInput `pulumi:"showDeprecated"` + // Filters for deployment templates compatible with this stack version. + StackVersion pulumi.StringPtrInput `pulumi:"stackVersion"` +} + +func (GetDeploymentTemplatesOutputArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesArgs)(nil)).Elem() +} + +// A collection of values returned by getDeploymentTemplates. +type GetDeploymentTemplatesResultOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesResultOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesResult)(nil)).Elem() +} + +func (o GetDeploymentTemplatesResultOutput) ToGetDeploymentTemplatesResultOutput() GetDeploymentTemplatesResultOutput { + return o +} + +func (o GetDeploymentTemplatesResultOutput) ToGetDeploymentTemplatesResultOutputWithContext(ctx context.Context) GetDeploymentTemplatesResultOutput { + return o +} + +// Filters for a deployment template with this id. +func (o GetDeploymentTemplatesResultOutput) Id() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDeploymentTemplatesResult) *string { return v.Id }).(pulumi.StringPtrOutput) +} + +// Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. +func (o GetDeploymentTemplatesResultOutput) Region() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesResult) string { return v.Region }).(pulumi.StringOutput) +} + +// Enable to also show deprecated deployment templates. (Set to false by default.) +func (o GetDeploymentTemplatesResultOutput) ShowDeprecated() pulumi.BoolPtrOutput { + return o.ApplyT(func(v GetDeploymentTemplatesResult) *bool { return v.ShowDeprecated }).(pulumi.BoolPtrOutput) +} + +// Filters for deployment templates compatible with this stack version. +func (o GetDeploymentTemplatesResultOutput) StackVersion() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDeploymentTemplatesResult) *string { return v.StackVersion }).(pulumi.StringPtrOutput) +} + +// List of available deployment templates. +func (o GetDeploymentTemplatesResultOutput) Templates() GetDeploymentTemplatesTemplateArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesResult) []GetDeploymentTemplatesTemplate { return v.Templates }).(GetDeploymentTemplatesTemplateArrayOutput) +} + +func init() { + pulumi.RegisterOutputType(GetDeploymentTemplatesResultOutput{}) +} diff --git a/sdk/go/ec/getDeployments.go b/sdk/go/ec/getDeployments.go index 11b8fb65..1fc00cf8 100644 --- a/sdk/go/ec/getDeployments.go +++ b/sdk/go/ec/getDeployments.go @@ -91,6 +91,8 @@ type GetDeploymentsArgs struct { IntegrationsServers []GetDeploymentsIntegrationsServer `pulumi:"integrationsServers"` // Filter by Kibana resource kind status or configuration. Kibanas []GetDeploymentsKibana `pulumi:"kibanas"` + // The name of the deployment. + Name *string `pulumi:"name"` // Prefix to filter the returned deployment list by. NamePrefix *string `pulumi:"namePrefix"` // The maximum number of deployments to return. Defaults to `100`. @@ -119,6 +121,8 @@ type GetDeploymentsResult struct { IntegrationsServers []GetDeploymentsIntegrationsServer `pulumi:"integrationsServers"` // Filter by Kibana resource kind status or configuration. Kibanas []GetDeploymentsKibana `pulumi:"kibanas"` + // Filter the result by the full deployment name. + Name *string `pulumi:"name"` // Prefix to filter the returned deployment list by. NamePrefix *string `pulumi:"namePrefix"` // The number of deployments actually returned. @@ -158,6 +162,8 @@ type GetDeploymentsOutputArgs struct { IntegrationsServers GetDeploymentsIntegrationsServerArrayInput `pulumi:"integrationsServers"` // Filter by Kibana resource kind status or configuration. Kibanas GetDeploymentsKibanaArrayInput `pulumi:"kibanas"` + // The name of the deployment. + Name pulumi.StringPtrInput `pulumi:"name"` // Prefix to filter the returned deployment list by. NamePrefix pulumi.StringPtrInput `pulumi:"namePrefix"` // The maximum number of deployments to return. Defaults to `100`. @@ -230,6 +236,11 @@ func (o GetDeploymentsResultOutput) Kibanas() GetDeploymentsKibanaArrayOutput { return o.ApplyT(func(v GetDeploymentsResult) []GetDeploymentsKibana { return v.Kibanas }).(GetDeploymentsKibanaArrayOutput) } +// Filter the result by the full deployment name. +func (o GetDeploymentsResultOutput) Name() pulumi.StringPtrOutput { + return o.ApplyT(func(v GetDeploymentsResult) *string { return v.Name }).(pulumi.StringPtrOutput) +} + // Prefix to filter the returned deployment list by. func (o GetDeploymentsResultOutput) NamePrefix() pulumi.StringPtrOutput { return o.ApplyT(func(v GetDeploymentsResult) *string { return v.NamePrefix }).(pulumi.StringPtrOutput) diff --git a/sdk/go/ec/pulumiTypes.go b/sdk/go/ec/pulumiTypes.go index 85847d12..c4d2d811 100644 --- a/sdk/go/ec/pulumiTypes.go +++ b/sdk/go/ec/pulumiTypes.go @@ -15,15 +15,18 @@ var _ = internal.GetEnvOrDefault type DeploymentApm struct { // Optionally define the Apm configuration options for the APM Server - Config *DeploymentApmConfig `pulumi:"config"` - ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint *string `pulumi:"httpEndpoint"` - HttpsEndpoint *string `pulumi:"httpsEndpoint"` - InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` - RefId *string `pulumi:"refId"` - Region *string `pulumi:"region"` - ResourceId *string `pulumi:"resourceId"` - Size *string `pulumi:"size"` + Config *DeploymentApmConfig `pulumi:"config"` + ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint *string `pulumi:"httpEndpoint"` + HttpsEndpoint *string `pulumi:"httpsEndpoint"` + InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` + RefId *string `pulumi:"refId"` + Region *string `pulumi:"region"` + ResourceId *string `pulumi:"resourceId"` + Size *string `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource *string `pulumi:"sizeResource"` ZoneCount *int `pulumi:"zoneCount"` @@ -42,15 +45,18 @@ type DeploymentApmInput interface { type DeploymentApmArgs struct { // Optionally define the Apm configuration options for the APM Server - Config DeploymentApmConfigPtrInput `pulumi:"config"` - ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` - HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` - InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` - RefId pulumi.StringPtrInput `pulumi:"refId"` - Region pulumi.StringPtrInput `pulumi:"region"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - Size pulumi.StringPtrInput `pulumi:"size"` + Config DeploymentApmConfigPtrInput `pulumi:"config"` + ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` + InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` + RefId pulumi.StringPtrInput `pulumi:"refId"` + Region pulumi.StringPtrInput `pulumi:"region"` + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + Size pulumi.StringPtrInput `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource pulumi.StringPtrInput `pulumi:"sizeResource"` ZoneCount pulumi.IntPtrInput `pulumi:"zoneCount"` @@ -154,6 +160,18 @@ func (o DeploymentApmOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentApm) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +func (o DeploymentApmOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentApm) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +func (o DeploymentApmOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentApm) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +func (o DeploymentApmOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentApm) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + func (o DeploymentApmOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentApm) *string { return v.RefId }).(pulumi.StringPtrOutput) } @@ -249,6 +267,33 @@ func (o DeploymentApmPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput }).(pulumi.StringPtrOutput) } +func (o DeploymentApmPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentApm) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentApmPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentApm) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentApmPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentApm) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + func (o DeploymentApmPtrOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentApm) *string { if v == nil { @@ -1092,8 +1137,14 @@ func (o DeploymentElasticsearchPtrOutput) Warm() DeploymentElasticsearchWarmPtrO type DeploymentElasticsearchCold struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchColdAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -1126,8 +1177,14 @@ type DeploymentElasticsearchColdInput interface { type DeploymentElasticsearchColdArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchColdAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -1228,11 +1285,26 @@ func (o DeploymentElasticsearchColdOutput) Autoscaling() DeploymentElasticsearch return o.ApplyT(func(v DeploymentElasticsearchCold) DeploymentElasticsearchColdAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchColdAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchColdOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchCold) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchColdOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCold) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchColdOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCold) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchColdOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCold) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchColdOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchCold) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -1307,7 +1379,7 @@ func (o DeploymentElasticsearchColdPtrOutput) Autoscaling() DeploymentElasticsea }).(DeploymentElasticsearchColdAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchColdPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchCold) *string { if v == nil { @@ -1317,6 +1389,36 @@ func (o DeploymentElasticsearchColdPtrOutput) InstanceConfigurationId() pulumi.S }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchColdPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCold) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchColdPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCold) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchColdPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCold) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchColdPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchCold) []string { @@ -1398,6 +1500,8 @@ func (o DeploymentElasticsearchColdPtrOutput) ZoneCount() pulumi.IntPtrOutput { } type DeploymentElasticsearchColdAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -1422,6 +1526,8 @@ type DeploymentElasticsearchColdAutoscalingInput interface { } type DeploymentElasticsearchColdAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -1511,6 +1617,11 @@ func (o DeploymentElasticsearchColdAutoscalingOutput) ToDeploymentElasticsearchC }).(DeploymentElasticsearchColdAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchColdAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchColdAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchColdAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchColdAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -1560,6 +1671,16 @@ func (o DeploymentElasticsearchColdAutoscalingPtrOutput) Elem() DeploymentElasti }).(DeploymentElasticsearchColdAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchColdAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchColdAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchColdAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchColdAutoscaling) *string { @@ -1845,8 +1966,14 @@ func (o DeploymentElasticsearchConfigPtrOutput) UserSettingsYaml() pulumi.String type DeploymentElasticsearchCoordinating struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchCoordinatingAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -1879,8 +2006,14 @@ type DeploymentElasticsearchCoordinatingInput interface { type DeploymentElasticsearchCoordinatingArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchCoordinatingAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -1983,11 +2116,26 @@ func (o DeploymentElasticsearchCoordinatingOutput) Autoscaling() DeploymentElast }).(DeploymentElasticsearchCoordinatingAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchCoordinatingOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchCoordinating) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchCoordinatingOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCoordinating) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchCoordinatingOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCoordinating) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchCoordinatingOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCoordinating) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchCoordinatingOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchCoordinating) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -2062,7 +2210,7 @@ func (o DeploymentElasticsearchCoordinatingPtrOutput) Autoscaling() DeploymentEl }).(DeploymentElasticsearchCoordinatingAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchCoordinatingPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchCoordinating) *string { if v == nil { @@ -2072,6 +2220,36 @@ func (o DeploymentElasticsearchCoordinatingPtrOutput) InstanceConfigurationId() }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchCoordinatingPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCoordinating) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchCoordinatingPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCoordinating) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchCoordinatingPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCoordinating) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchCoordinatingPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchCoordinating) []string { @@ -2153,6 +2331,8 @@ func (o DeploymentElasticsearchCoordinatingPtrOutput) ZoneCount() pulumi.IntPtrO } type DeploymentElasticsearchCoordinatingAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -2177,6 +2357,8 @@ type DeploymentElasticsearchCoordinatingAutoscalingInput interface { } type DeploymentElasticsearchCoordinatingAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -2266,6 +2448,11 @@ func (o DeploymentElasticsearchCoordinatingAutoscalingOutput) ToDeploymentElasti }).(DeploymentElasticsearchCoordinatingAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchCoordinatingAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchCoordinatingAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchCoordinatingAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchCoordinatingAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -2315,6 +2502,16 @@ func (o DeploymentElasticsearchCoordinatingAutoscalingPtrOutput) Elem() Deployme }).(DeploymentElasticsearchCoordinatingAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchCoordinatingAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchCoordinatingAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchCoordinatingAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchCoordinatingAutoscaling) *string { @@ -2492,8 +2689,14 @@ func (o DeploymentElasticsearchExtensionArrayOutput) Index(i pulumi.IntInput) De type DeploymentElasticsearchFrozen struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchFrozenAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -2526,8 +2729,14 @@ type DeploymentElasticsearchFrozenInput interface { type DeploymentElasticsearchFrozenArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchFrozenAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -2628,11 +2837,26 @@ func (o DeploymentElasticsearchFrozenOutput) Autoscaling() DeploymentElasticsear return o.ApplyT(func(v DeploymentElasticsearchFrozen) DeploymentElasticsearchFrozenAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchFrozenAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchFrozenOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchFrozen) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchFrozenOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchFrozen) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchFrozenOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchFrozen) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchFrozenOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchFrozen) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchFrozenOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchFrozen) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -2707,7 +2931,7 @@ func (o DeploymentElasticsearchFrozenPtrOutput) Autoscaling() DeploymentElastics }).(DeploymentElasticsearchFrozenAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchFrozenPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchFrozen) *string { if v == nil { @@ -2717,6 +2941,36 @@ func (o DeploymentElasticsearchFrozenPtrOutput) InstanceConfigurationId() pulumi }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchFrozenPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchFrozen) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchFrozenPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchFrozen) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchFrozenPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchFrozen) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchFrozenPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchFrozen) []string { @@ -2798,6 +3052,8 @@ func (o DeploymentElasticsearchFrozenPtrOutput) ZoneCount() pulumi.IntPtrOutput } type DeploymentElasticsearchFrozenAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -2822,6 +3078,8 @@ type DeploymentElasticsearchFrozenAutoscalingInput interface { } type DeploymentElasticsearchFrozenAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -2911,6 +3169,11 @@ func (o DeploymentElasticsearchFrozenAutoscalingOutput) ToDeploymentElasticsearc }).(DeploymentElasticsearchFrozenAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchFrozenAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchFrozenAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchFrozenAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchFrozenAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -2960,6 +3223,16 @@ func (o DeploymentElasticsearchFrozenAutoscalingPtrOutput) Elem() DeploymentElas }).(DeploymentElasticsearchFrozenAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchFrozenAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchFrozenAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchFrozenAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchFrozenAutoscaling) *string { @@ -3013,8 +3286,14 @@ func (o DeploymentElasticsearchFrozenAutoscalingPtrOutput) PolicyOverrideJson() type DeploymentElasticsearchHot struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchHotAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -3047,8 +3326,14 @@ type DeploymentElasticsearchHotInput interface { type DeploymentElasticsearchHotArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchHotAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -3149,11 +3434,26 @@ func (o DeploymentElasticsearchHotOutput) Autoscaling() DeploymentElasticsearchH return o.ApplyT(func(v DeploymentElasticsearchHot) DeploymentElasticsearchHotAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchHotAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchHotOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchHot) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchHotOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchHot) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchHotOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchHot) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchHotOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchHot) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchHotOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchHot) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -3228,7 +3528,7 @@ func (o DeploymentElasticsearchHotPtrOutput) Autoscaling() DeploymentElasticsear }).(DeploymentElasticsearchHotAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchHotPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchHot) *string { if v == nil { @@ -3238,6 +3538,36 @@ func (o DeploymentElasticsearchHotPtrOutput) InstanceConfigurationId() pulumi.St }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchHotPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchHot) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchHotPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchHot) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchHotPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchHot) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchHotPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchHot) []string { @@ -3319,6 +3649,8 @@ func (o DeploymentElasticsearchHotPtrOutput) ZoneCount() pulumi.IntPtrOutput { } type DeploymentElasticsearchHotAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -3343,6 +3675,8 @@ type DeploymentElasticsearchHotAutoscalingInput interface { } type DeploymentElasticsearchHotAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -3432,6 +3766,11 @@ func (o DeploymentElasticsearchHotAutoscalingOutput) ToDeploymentElasticsearchHo }).(DeploymentElasticsearchHotAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchHotAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchHotAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchHotAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchHotAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -3481,6 +3820,16 @@ func (o DeploymentElasticsearchHotAutoscalingPtrOutput) Elem() DeploymentElastic }).(DeploymentElasticsearchHotAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchHotAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchHotAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchHotAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchHotAutoscaling) *string { @@ -3640,8 +3989,14 @@ func (o DeploymentElasticsearchKeystoreContentsMapOutput) MapIndex(k pulumi.Stri type DeploymentElasticsearchMaster struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchMasterAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -3674,8 +4029,14 @@ type DeploymentElasticsearchMasterInput interface { type DeploymentElasticsearchMasterArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchMasterAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -3776,11 +4137,26 @@ func (o DeploymentElasticsearchMasterOutput) Autoscaling() DeploymentElasticsear return o.ApplyT(func(v DeploymentElasticsearchMaster) DeploymentElasticsearchMasterAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchMasterAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchMasterOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchMaster) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchMasterOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMaster) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchMasterOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMaster) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchMasterOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMaster) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchMasterOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchMaster) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -3855,7 +4231,7 @@ func (o DeploymentElasticsearchMasterPtrOutput) Autoscaling() DeploymentElastics }).(DeploymentElasticsearchMasterAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchMasterPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchMaster) *string { if v == nil { @@ -3865,6 +4241,36 @@ func (o DeploymentElasticsearchMasterPtrOutput) InstanceConfigurationId() pulumi }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchMasterPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMaster) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchMasterPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMaster) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchMasterPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMaster) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchMasterPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchMaster) []string { @@ -3946,6 +4352,8 @@ func (o DeploymentElasticsearchMasterPtrOutput) ZoneCount() pulumi.IntPtrOutput } type DeploymentElasticsearchMasterAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -3970,6 +4378,8 @@ type DeploymentElasticsearchMasterAutoscalingInput interface { } type DeploymentElasticsearchMasterAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -4059,6 +4469,11 @@ func (o DeploymentElasticsearchMasterAutoscalingOutput) ToDeploymentElasticsearc }).(DeploymentElasticsearchMasterAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchMasterAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMasterAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchMasterAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchMasterAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -4108,6 +4523,16 @@ func (o DeploymentElasticsearchMasterAutoscalingPtrOutput) Elem() DeploymentElas }).(DeploymentElasticsearchMasterAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchMasterAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMasterAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchMasterAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchMasterAutoscaling) *string { @@ -4161,8 +4586,14 @@ func (o DeploymentElasticsearchMasterAutoscalingPtrOutput) PolicyOverrideJson() type DeploymentElasticsearchMl struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchMlAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -4195,8 +4626,14 @@ type DeploymentElasticsearchMlInput interface { type DeploymentElasticsearchMlArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchMlAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -4297,11 +4734,26 @@ func (o DeploymentElasticsearchMlOutput) Autoscaling() DeploymentElasticsearchMl return o.ApplyT(func(v DeploymentElasticsearchMl) DeploymentElasticsearchMlAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchMlAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchMlOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchMl) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchMlOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMl) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchMlOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMl) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchMlOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMl) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchMlOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchMl) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -4376,7 +4828,7 @@ func (o DeploymentElasticsearchMlPtrOutput) Autoscaling() DeploymentElasticsearc }).(DeploymentElasticsearchMlAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchMlPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchMl) *string { if v == nil { @@ -4386,29 +4838,59 @@ func (o DeploymentElasticsearchMlPtrOutput) InstanceConfigurationId() pulumi.Str }).(pulumi.StringPtrOutput) } -// The computed list of node roles for the current topology element -func (o DeploymentElasticsearchMlPtrOutput) NodeRoles() pulumi.StringArrayOutput { - return o.ApplyT(func(v *DeploymentElasticsearchMl) []string { +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchMlPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMl) *int { if v == nil { return nil } - return v.NodeRoles - }).(pulumi.StringArrayOutput) + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) } -// The node type for the Elasticsearch Topology element (data node) -func (o DeploymentElasticsearchMlPtrOutput) NodeTypeData() pulumi.StringPtrOutput { +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchMlPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchMl) *string { if v == nil { return nil } - return v.NodeTypeData + return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) } -// The node type for the Elasticsearch Topology element (ingest node) -func (o DeploymentElasticsearchMlPtrOutput) NodeTypeIngest() pulumi.StringPtrOutput { - return o.ApplyT(func(v *DeploymentElasticsearchMl) *string { +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchMlPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMl) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// The computed list of node roles for the current topology element +func (o DeploymentElasticsearchMlPtrOutput) NodeRoles() pulumi.StringArrayOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMl) []string { + if v == nil { + return nil + } + return v.NodeRoles + }).(pulumi.StringArrayOutput) +} + +// The node type for the Elasticsearch Topology element (data node) +func (o DeploymentElasticsearchMlPtrOutput) NodeTypeData() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMl) *string { + if v == nil { + return nil + } + return v.NodeTypeData + }).(pulumi.StringPtrOutput) +} + +// The node type for the Elasticsearch Topology element (ingest node) +func (o DeploymentElasticsearchMlPtrOutput) NodeTypeIngest() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMl) *string { if v == nil { return nil } @@ -4467,6 +4949,8 @@ func (o DeploymentElasticsearchMlPtrOutput) ZoneCount() pulumi.IntPtrOutput { } type DeploymentElasticsearchMlAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -4491,6 +4975,8 @@ type DeploymentElasticsearchMlAutoscalingInput interface { } type DeploymentElasticsearchMlAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -4580,6 +5066,11 @@ func (o DeploymentElasticsearchMlAutoscalingOutput) ToDeploymentElasticsearchMlA }).(DeploymentElasticsearchMlAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchMlAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchMlAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchMlAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchMlAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -4629,6 +5120,16 @@ func (o DeploymentElasticsearchMlAutoscalingPtrOutput) Elem() DeploymentElastics }).(DeploymentElasticsearchMlAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchMlAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchMlAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchMlAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchMlAutoscaling) *string { @@ -5626,8 +6127,14 @@ func (o DeploymentElasticsearchTrustExternalArrayOutput) Index(i pulumi.IntInput type DeploymentElasticsearchWarm struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchWarmAutoscaling `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles []string `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -5660,8 +6167,14 @@ type DeploymentElasticsearchWarmInput interface { type DeploymentElasticsearchWarmArgs struct { // Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. Autoscaling DeploymentElasticsearchWarmAutoscalingInput `pulumi:"autoscaling"` - // Computed Instance Configuration ID of the topology element + // Instance Configuration ID of the topology element InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + // Instance Configuration version of the topology element + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + // Latest Instance Configuration ID available on the deployment template for the topology element + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + // Latest version available for the Instance Configuration with the latest_instance_configuration_id + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` // The computed list of node roles for the current topology element NodeRoles pulumi.StringArrayInput `pulumi:"nodeRoles"` // The node type for the Elasticsearch Topology element (data node) @@ -5762,11 +6275,26 @@ func (o DeploymentElasticsearchWarmOutput) Autoscaling() DeploymentElasticsearch return o.ApplyT(func(v DeploymentElasticsearchWarm) DeploymentElasticsearchWarmAutoscaling { return v.Autoscaling }).(DeploymentElasticsearchWarmAutoscalingOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchWarmOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchWarm) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchWarmOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchWarm) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchWarmOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchWarm) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchWarmOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchWarm) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchWarmOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v DeploymentElasticsearchWarm) []string { return v.NodeRoles }).(pulumi.StringArrayOutput) @@ -5841,7 +6369,7 @@ func (o DeploymentElasticsearchWarmPtrOutput) Autoscaling() DeploymentElasticsea }).(DeploymentElasticsearchWarmAutoscalingPtrOutput) } -// Computed Instance Configuration ID of the topology element +// Instance Configuration ID of the topology element func (o DeploymentElasticsearchWarmPtrOutput) InstanceConfigurationId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchWarm) *string { if v == nil { @@ -5851,6 +6379,36 @@ func (o DeploymentElasticsearchWarmPtrOutput) InstanceConfigurationId() pulumi.S }).(pulumi.StringPtrOutput) } +// Instance Configuration version of the topology element +func (o DeploymentElasticsearchWarmPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchWarm) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +// Latest Instance Configuration ID available on the deployment template for the topology element +func (o DeploymentElasticsearchWarmPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchWarm) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +// Latest version available for the Instance Configuration with the latest_instance_configuration_id +func (o DeploymentElasticsearchWarmPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchWarm) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + // The computed list of node roles for the current topology element func (o DeploymentElasticsearchWarmPtrOutput) NodeRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *DeploymentElasticsearchWarm) []string { @@ -5932,6 +6490,8 @@ func (o DeploymentElasticsearchWarmPtrOutput) ZoneCount() pulumi.IntPtrOutput { } type DeploymentElasticsearchWarmAutoscaling struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale *bool `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize *string `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -5956,6 +6516,8 @@ type DeploymentElasticsearchWarmAutoscalingInput interface { } type DeploymentElasticsearchWarmAutoscalingArgs struct { + // Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + Autoscale pulumi.BoolPtrInput `pulumi:"autoscale"` // Maximum size value for the maximum autoscaling setting. MaxSize pulumi.StringPtrInput `pulumi:"maxSize"` // Maximum resource type for the maximum autoscaling setting. @@ -6045,6 +6607,11 @@ func (o DeploymentElasticsearchWarmAutoscalingOutput) ToDeploymentElasticsearchW }).(DeploymentElasticsearchWarmAutoscalingPtrOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchWarmAutoscalingOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v DeploymentElasticsearchWarmAutoscaling) *bool { return v.Autoscale }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchWarmAutoscalingOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentElasticsearchWarmAutoscaling) *string { return v.MaxSize }).(pulumi.StringPtrOutput) @@ -6094,6 +6661,16 @@ func (o DeploymentElasticsearchWarmAutoscalingPtrOutput) Elem() DeploymentElasti }).(DeploymentElasticsearchWarmAutoscalingOutput) } +// Enable or disable autoscaling. Defaults to the setting coming from the deployment template. +func (o DeploymentElasticsearchWarmAutoscalingPtrOutput) Autoscale() pulumi.BoolPtrOutput { + return o.ApplyT(func(v *DeploymentElasticsearchWarmAutoscaling) *bool { + if v == nil { + return nil + } + return v.Autoscale + }).(pulumi.BoolPtrOutput) +} + // Maximum size value for the maximum autoscaling setting. func (o DeploymentElasticsearchWarmAutoscalingPtrOutput) MaxSize() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentElasticsearchWarmAutoscaling) *string { @@ -6146,18 +6723,21 @@ func (o DeploymentElasticsearchWarmAutoscalingPtrOutput) PolicyOverrideJson() pu type DeploymentEnterpriseSearch struct { // Optionally define the Enterprise Search configuration options for the Enterprise Search Server - Config *DeploymentEnterpriseSearchConfig `pulumi:"config"` - ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint *string `pulumi:"httpEndpoint"` - HttpsEndpoint *string `pulumi:"httpsEndpoint"` - InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` - NodeTypeAppserver *bool `pulumi:"nodeTypeAppserver"` - NodeTypeConnector *bool `pulumi:"nodeTypeConnector"` - NodeTypeWorker *bool `pulumi:"nodeTypeWorker"` - RefId *string `pulumi:"refId"` - Region *string `pulumi:"region"` - ResourceId *string `pulumi:"resourceId"` - Size *string `pulumi:"size"` + Config *DeploymentEnterpriseSearchConfig `pulumi:"config"` + ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint *string `pulumi:"httpEndpoint"` + HttpsEndpoint *string `pulumi:"httpsEndpoint"` + InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` + NodeTypeAppserver *bool `pulumi:"nodeTypeAppserver"` + NodeTypeConnector *bool `pulumi:"nodeTypeConnector"` + NodeTypeWorker *bool `pulumi:"nodeTypeWorker"` + RefId *string `pulumi:"refId"` + Region *string `pulumi:"region"` + ResourceId *string `pulumi:"resourceId"` + Size *string `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource *string `pulumi:"sizeResource"` ZoneCount *int `pulumi:"zoneCount"` @@ -6176,18 +6756,21 @@ type DeploymentEnterpriseSearchInput interface { type DeploymentEnterpriseSearchArgs struct { // Optionally define the Enterprise Search configuration options for the Enterprise Search Server - Config DeploymentEnterpriseSearchConfigPtrInput `pulumi:"config"` - ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` - HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` - InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` - NodeTypeAppserver pulumi.BoolPtrInput `pulumi:"nodeTypeAppserver"` - NodeTypeConnector pulumi.BoolPtrInput `pulumi:"nodeTypeConnector"` - NodeTypeWorker pulumi.BoolPtrInput `pulumi:"nodeTypeWorker"` - RefId pulumi.StringPtrInput `pulumi:"refId"` - Region pulumi.StringPtrInput `pulumi:"region"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - Size pulumi.StringPtrInput `pulumi:"size"` + Config DeploymentEnterpriseSearchConfigPtrInput `pulumi:"config"` + ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` + InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` + NodeTypeAppserver pulumi.BoolPtrInput `pulumi:"nodeTypeAppserver"` + NodeTypeConnector pulumi.BoolPtrInput `pulumi:"nodeTypeConnector"` + NodeTypeWorker pulumi.BoolPtrInput `pulumi:"nodeTypeWorker"` + RefId pulumi.StringPtrInput `pulumi:"refId"` + Region pulumi.StringPtrInput `pulumi:"region"` + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + Size pulumi.StringPtrInput `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource pulumi.StringPtrInput `pulumi:"sizeResource"` ZoneCount pulumi.IntPtrInput `pulumi:"zoneCount"` @@ -6291,6 +6874,18 @@ func (o DeploymentEnterpriseSearchOutput) InstanceConfigurationId() pulumi.Strin return o.ApplyT(func(v DeploymentEnterpriseSearch) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +func (o DeploymentEnterpriseSearchOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentEnterpriseSearch) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +func (o DeploymentEnterpriseSearchOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentEnterpriseSearch) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +func (o DeploymentEnterpriseSearchOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentEnterpriseSearch) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + func (o DeploymentEnterpriseSearchOutput) NodeTypeAppserver() pulumi.BoolPtrOutput { return o.ApplyT(func(v DeploymentEnterpriseSearch) *bool { return v.NodeTypeAppserver }).(pulumi.BoolPtrOutput) } @@ -6398,6 +6993,33 @@ func (o DeploymentEnterpriseSearchPtrOutput) InstanceConfigurationId() pulumi.St }).(pulumi.StringPtrOutput) } +func (o DeploymentEnterpriseSearchPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentEnterpriseSearch) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentEnterpriseSearchPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentEnterpriseSearch) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentEnterpriseSearchPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentEnterpriseSearch) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + func (o DeploymentEnterpriseSearchPtrOutput) NodeTypeAppserver() pulumi.BoolPtrOutput { return o.ApplyT(func(v *DeploymentEnterpriseSearch) *bool { if v == nil { @@ -6698,14 +7320,17 @@ type DeploymentIntegrationsServer struct { Config *DeploymentIntegrationsServerConfig `pulumi:"config"` ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` // URLs for the accessing the Fleet and APM API's within this Integrations Server resource. - Endpoints *DeploymentIntegrationsServerEndpoints `pulumi:"endpoints"` - HttpEndpoint *string `pulumi:"httpEndpoint"` - HttpsEndpoint *string `pulumi:"httpsEndpoint"` - InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` - RefId *string `pulumi:"refId"` - Region *string `pulumi:"region"` - ResourceId *string `pulumi:"resourceId"` - Size *string `pulumi:"size"` + Endpoints *DeploymentIntegrationsServerEndpoints `pulumi:"endpoints"` + HttpEndpoint *string `pulumi:"httpEndpoint"` + HttpsEndpoint *string `pulumi:"httpsEndpoint"` + InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` + RefId *string `pulumi:"refId"` + Region *string `pulumi:"region"` + ResourceId *string `pulumi:"resourceId"` + Size *string `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource *string `pulumi:"sizeResource"` ZoneCount *int `pulumi:"zoneCount"` @@ -6727,14 +7352,17 @@ type DeploymentIntegrationsServerArgs struct { Config DeploymentIntegrationsServerConfigPtrInput `pulumi:"config"` ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` // URLs for the accessing the Fleet and APM API's within this Integrations Server resource. - Endpoints DeploymentIntegrationsServerEndpointsPtrInput `pulumi:"endpoints"` - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` - HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` - InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` - RefId pulumi.StringPtrInput `pulumi:"refId"` - Region pulumi.StringPtrInput `pulumi:"region"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - Size pulumi.StringPtrInput `pulumi:"size"` + Endpoints DeploymentIntegrationsServerEndpointsPtrInput `pulumi:"endpoints"` + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` + InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` + RefId pulumi.StringPtrInput `pulumi:"refId"` + Region pulumi.StringPtrInput `pulumi:"region"` + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + Size pulumi.StringPtrInput `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource pulumi.StringPtrInput `pulumi:"sizeResource"` ZoneCount pulumi.IntPtrInput `pulumi:"zoneCount"` @@ -6843,6 +7471,18 @@ func (o DeploymentIntegrationsServerOutput) InstanceConfigurationId() pulumi.Str return o.ApplyT(func(v DeploymentIntegrationsServer) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +func (o DeploymentIntegrationsServerOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentIntegrationsServer) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +func (o DeploymentIntegrationsServerOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentIntegrationsServer) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +func (o DeploymentIntegrationsServerOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentIntegrationsServer) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + func (o DeploymentIntegrationsServerOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentIntegrationsServer) *string { return v.RefId }).(pulumi.StringPtrOutput) } @@ -6948,6 +7588,33 @@ func (o DeploymentIntegrationsServerPtrOutput) InstanceConfigurationId() pulumi. }).(pulumi.StringPtrOutput) } +func (o DeploymentIntegrationsServerPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentIntegrationsServer) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentIntegrationsServerPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentIntegrationsServer) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentIntegrationsServerPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentIntegrationsServer) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + func (o DeploymentIntegrationsServerPtrOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentIntegrationsServer) *string { if v == nil { @@ -7236,8 +7903,10 @@ func (o DeploymentIntegrationsServerConfigPtrOutput) UserSettingsYaml() pulumi.S } type DeploymentIntegrationsServerEndpoints struct { - Apm string `pulumi:"apm"` - Fleet string `pulumi:"fleet"` + Apm string `pulumi:"apm"` + Fleet string `pulumi:"fleet"` + Profiling string `pulumi:"profiling"` + Symbols string `pulumi:"symbols"` } // DeploymentIntegrationsServerEndpointsInput is an input type that accepts DeploymentIntegrationsServerEndpointsArgs and DeploymentIntegrationsServerEndpointsOutput values. @@ -7252,8 +7921,10 @@ type DeploymentIntegrationsServerEndpointsInput interface { } type DeploymentIntegrationsServerEndpointsArgs struct { - Apm pulumi.StringInput `pulumi:"apm"` - Fleet pulumi.StringInput `pulumi:"fleet"` + Apm pulumi.StringInput `pulumi:"apm"` + Fleet pulumi.StringInput `pulumi:"fleet"` + Profiling pulumi.StringInput `pulumi:"profiling"` + Symbols pulumi.StringInput `pulumi:"symbols"` } func (DeploymentIntegrationsServerEndpointsArgs) ElementType() reflect.Type { @@ -7341,6 +8012,14 @@ func (o DeploymentIntegrationsServerEndpointsOutput) Fleet() pulumi.StringOutput return o.ApplyT(func(v DeploymentIntegrationsServerEndpoints) string { return v.Fleet }).(pulumi.StringOutput) } +func (o DeploymentIntegrationsServerEndpointsOutput) Profiling() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentIntegrationsServerEndpoints) string { return v.Profiling }).(pulumi.StringOutput) +} + +func (o DeploymentIntegrationsServerEndpointsOutput) Symbols() pulumi.StringOutput { + return o.ApplyT(func(v DeploymentIntegrationsServerEndpoints) string { return v.Symbols }).(pulumi.StringOutput) +} + type DeploymentIntegrationsServerEndpointsPtrOutput struct{ *pulumi.OutputState } func (DeploymentIntegrationsServerEndpointsPtrOutput) ElementType() reflect.Type { @@ -7383,17 +8062,38 @@ func (o DeploymentIntegrationsServerEndpointsPtrOutput) Fleet() pulumi.StringPtr }).(pulumi.StringPtrOutput) } +func (o DeploymentIntegrationsServerEndpointsPtrOutput) Profiling() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentIntegrationsServerEndpoints) *string { + if v == nil { + return nil + } + return &v.Profiling + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentIntegrationsServerEndpointsPtrOutput) Symbols() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentIntegrationsServerEndpoints) *string { + if v == nil { + return nil + } + return &v.Symbols + }).(pulumi.StringPtrOutput) +} + type DeploymentKibana struct { // Optionally define the Kibana configuration options for the Kibana Server - Config *DeploymentKibanaConfig `pulumi:"config"` - ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint *string `pulumi:"httpEndpoint"` - HttpsEndpoint *string `pulumi:"httpsEndpoint"` - InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` - RefId *string `pulumi:"refId"` - Region *string `pulumi:"region"` - ResourceId *string `pulumi:"resourceId"` - Size *string `pulumi:"size"` + Config *DeploymentKibanaConfig `pulumi:"config"` + ElasticsearchClusterRefId *string `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint *string `pulumi:"httpEndpoint"` + HttpsEndpoint *string `pulumi:"httpsEndpoint"` + InstanceConfigurationId *string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion *int `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId *string `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion *int `pulumi:"latestInstanceConfigurationVersion"` + RefId *string `pulumi:"refId"` + Region *string `pulumi:"region"` + ResourceId *string `pulumi:"resourceId"` + Size *string `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource *string `pulumi:"sizeResource"` ZoneCount *int `pulumi:"zoneCount"` @@ -7412,15 +8112,18 @@ type DeploymentKibanaInput interface { type DeploymentKibanaArgs struct { // Optionally define the Kibana configuration options for the Kibana Server - Config DeploymentKibanaConfigPtrInput `pulumi:"config"` - ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` - HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` - HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` - InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` - RefId pulumi.StringPtrInput `pulumi:"refId"` - Region pulumi.StringPtrInput `pulumi:"region"` - ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` - Size pulumi.StringPtrInput `pulumi:"size"` + Config DeploymentKibanaConfigPtrInput `pulumi:"config"` + ElasticsearchClusterRefId pulumi.StringPtrInput `pulumi:"elasticsearchClusterRefId"` + HttpEndpoint pulumi.StringPtrInput `pulumi:"httpEndpoint"` + HttpsEndpoint pulumi.StringPtrInput `pulumi:"httpsEndpoint"` + InstanceConfigurationId pulumi.StringPtrInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"instanceConfigurationVersion"` + LatestInstanceConfigurationId pulumi.StringPtrInput `pulumi:"latestInstanceConfigurationId"` + LatestInstanceConfigurationVersion pulumi.IntPtrInput `pulumi:"latestInstanceConfigurationVersion"` + RefId pulumi.StringPtrInput `pulumi:"refId"` + Region pulumi.StringPtrInput `pulumi:"region"` + ResourceId pulumi.StringPtrInput `pulumi:"resourceId"` + Size pulumi.StringPtrInput `pulumi:"size"` // Optional size type, defaults to "memory". SizeResource pulumi.StringPtrInput `pulumi:"sizeResource"` ZoneCount pulumi.IntPtrInput `pulumi:"zoneCount"` @@ -7524,6 +8227,18 @@ func (o DeploymentKibanaOutput) InstanceConfigurationId() pulumi.StringPtrOutput return o.ApplyT(func(v DeploymentKibana) *string { return v.InstanceConfigurationId }).(pulumi.StringPtrOutput) } +func (o DeploymentKibanaOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentKibana) *int { return v.InstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + +func (o DeploymentKibanaOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v DeploymentKibana) *string { return v.LatestInstanceConfigurationId }).(pulumi.StringPtrOutput) +} + +func (o DeploymentKibanaOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v DeploymentKibana) *int { return v.LatestInstanceConfigurationVersion }).(pulumi.IntPtrOutput) +} + func (o DeploymentKibanaOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v DeploymentKibana) *string { return v.RefId }).(pulumi.StringPtrOutput) } @@ -7619,6 +8334,33 @@ func (o DeploymentKibanaPtrOutput) InstanceConfigurationId() pulumi.StringPtrOut }).(pulumi.StringPtrOutput) } +func (o DeploymentKibanaPtrOutput) InstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentKibana) *int { + if v == nil { + return nil + } + return v.InstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + +func (o DeploymentKibanaPtrOutput) LatestInstanceConfigurationId() pulumi.StringPtrOutput { + return o.ApplyT(func(v *DeploymentKibana) *string { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationId + }).(pulumi.StringPtrOutput) +} + +func (o DeploymentKibanaPtrOutput) LatestInstanceConfigurationVersion() pulumi.IntPtrOutput { + return o.ApplyT(func(v *DeploymentKibana) *int { + if v == nil { + return nil + } + return v.LatestInstanceConfigurationVersion + }).(pulumi.IntPtrOutput) +} + func (o DeploymentKibanaPtrOutput) RefId() pulumi.StringPtrOutput { return o.ApplyT(func(v *DeploymentKibana) *string { if v == nil { @@ -10419,6 +11161,1700 @@ func (o GetDeploymentObservabilityArrayOutput) Index(i pulumi.IntInput) GetDeplo }).(GetDeploymentObservabilityOutput) } +type GetDeploymentTemplatesTemplate struct { + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + Apm GetDeploymentTemplatesTemplateApm `pulumi:"apm"` + // Outdated templates are marked as deprecated, but can still be used. + Deprecated bool `pulumi:"deprecated"` + // The description of the deployment template. + Description string `pulumi:"description"` + // Defines the default configuration for Elasticsearch. + Elasticsearch GetDeploymentTemplatesTemplateElasticsearch `pulumi:"elasticsearch"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + EnterpriseSearch GetDeploymentTemplatesTemplateEnterpriseSearch `pulumi:"enterpriseSearch"` + // The id of the deployment template. + Id string `pulumi:"id"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + IntegrationsServer GetDeploymentTemplatesTemplateIntegrationsServer `pulumi:"integrationsServer"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + Kibana GetDeploymentTemplatesTemplateKibana `pulumi:"kibana"` + // The minimum stack version that can used with this deployment template. + MinStackVersion string `pulumi:"minStackVersion"` + // The name of the deployment template. + Name string `pulumi:"name"` +} + +// GetDeploymentTemplatesTemplateInput is an input type that accepts GetDeploymentTemplatesTemplateArgs and GetDeploymentTemplatesTemplateOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateInput` via: +// +// GetDeploymentTemplatesTemplateArgs{...} +type GetDeploymentTemplatesTemplateInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateOutput() GetDeploymentTemplatesTemplateOutput + ToGetDeploymentTemplatesTemplateOutputWithContext(context.Context) GetDeploymentTemplatesTemplateOutput +} + +type GetDeploymentTemplatesTemplateArgs struct { + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + Apm GetDeploymentTemplatesTemplateApmInput `pulumi:"apm"` + // Outdated templates are marked as deprecated, but can still be used. + Deprecated pulumi.BoolInput `pulumi:"deprecated"` + // The description of the deployment template. + Description pulumi.StringInput `pulumi:"description"` + // Defines the default configuration for Elasticsearch. + Elasticsearch GetDeploymentTemplatesTemplateElasticsearchInput `pulumi:"elasticsearch"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + EnterpriseSearch GetDeploymentTemplatesTemplateEnterpriseSearchInput `pulumi:"enterpriseSearch"` + // The id of the deployment template. + Id pulumi.StringInput `pulumi:"id"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + IntegrationsServer GetDeploymentTemplatesTemplateIntegrationsServerInput `pulumi:"integrationsServer"` + // Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + Kibana GetDeploymentTemplatesTemplateKibanaInput `pulumi:"kibana"` + // The minimum stack version that can used with this deployment template. + MinStackVersion pulumi.StringInput `pulumi:"minStackVersion"` + // The name of the deployment template. + Name pulumi.StringInput `pulumi:"name"` +} + +func (GetDeploymentTemplatesTemplateArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplate)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateArgs) ToGetDeploymentTemplatesTemplateOutput() GetDeploymentTemplatesTemplateOutput { + return i.ToGetDeploymentTemplatesTemplateOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateArgs) ToGetDeploymentTemplatesTemplateOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateOutput) +} + +// GetDeploymentTemplatesTemplateArrayInput is an input type that accepts GetDeploymentTemplatesTemplateArray and GetDeploymentTemplatesTemplateArrayOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateArrayInput` via: +// +// GetDeploymentTemplatesTemplateArray{ GetDeploymentTemplatesTemplateArgs{...} } +type GetDeploymentTemplatesTemplateArrayInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateArrayOutput() GetDeploymentTemplatesTemplateArrayOutput + ToGetDeploymentTemplatesTemplateArrayOutputWithContext(context.Context) GetDeploymentTemplatesTemplateArrayOutput +} + +type GetDeploymentTemplatesTemplateArray []GetDeploymentTemplatesTemplateInput + +func (GetDeploymentTemplatesTemplateArray) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentTemplatesTemplate)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateArray) ToGetDeploymentTemplatesTemplateArrayOutput() GetDeploymentTemplatesTemplateArrayOutput { + return i.ToGetDeploymentTemplatesTemplateArrayOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateArray) ToGetDeploymentTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateArrayOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateArrayOutput) +} + +type GetDeploymentTemplatesTemplateOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplate)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateOutput) ToGetDeploymentTemplatesTemplateOutput() GetDeploymentTemplatesTemplateOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateOutput) ToGetDeploymentTemplatesTemplateOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateOutput { + return o +} + +// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). +func (o GetDeploymentTemplatesTemplateOutput) Apm() GetDeploymentTemplatesTemplateApmOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) GetDeploymentTemplatesTemplateApm { return v.Apm }).(GetDeploymentTemplatesTemplateApmOutput) +} + +// Outdated templates are marked as deprecated, but can still be used. +func (o GetDeploymentTemplatesTemplateOutput) Deprecated() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) bool { return v.Deprecated }).(pulumi.BoolOutput) +} + +// The description of the deployment template. +func (o GetDeploymentTemplatesTemplateOutput) Description() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) string { return v.Description }).(pulumi.StringOutput) +} + +// Defines the default configuration for Elasticsearch. +func (o GetDeploymentTemplatesTemplateOutput) Elasticsearch() GetDeploymentTemplatesTemplateElasticsearchOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) GetDeploymentTemplatesTemplateElasticsearch { + return v.Elasticsearch + }).(GetDeploymentTemplatesTemplateElasticsearchOutput) +} + +// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). +func (o GetDeploymentTemplatesTemplateOutput) EnterpriseSearch() GetDeploymentTemplatesTemplateEnterpriseSearchOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) GetDeploymentTemplatesTemplateEnterpriseSearch { + return v.EnterpriseSearch + }).(GetDeploymentTemplatesTemplateEnterpriseSearchOutput) +} + +// The id of the deployment template. +func (o GetDeploymentTemplatesTemplateOutput) Id() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) string { return v.Id }).(pulumi.StringOutput) +} + +// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). +func (o GetDeploymentTemplatesTemplateOutput) IntegrationsServer() GetDeploymentTemplatesTemplateIntegrationsServerOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) GetDeploymentTemplatesTemplateIntegrationsServer { + return v.IntegrationsServer + }).(GetDeploymentTemplatesTemplateIntegrationsServerOutput) +} + +// Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). +func (o GetDeploymentTemplatesTemplateOutput) Kibana() GetDeploymentTemplatesTemplateKibanaOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) GetDeploymentTemplatesTemplateKibana { return v.Kibana }).(GetDeploymentTemplatesTemplateKibanaOutput) +} + +// The minimum stack version that can used with this deployment template. +func (o GetDeploymentTemplatesTemplateOutput) MinStackVersion() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) string { return v.MinStackVersion }).(pulumi.StringOutput) +} + +// The name of the deployment template. +func (o GetDeploymentTemplatesTemplateOutput) Name() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplate) string { return v.Name }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateArrayOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateArrayOutput) ElementType() reflect.Type { + return reflect.TypeOf((*[]GetDeploymentTemplatesTemplate)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateArrayOutput) ToGetDeploymentTemplatesTemplateArrayOutput() GetDeploymentTemplatesTemplateArrayOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateArrayOutput) ToGetDeploymentTemplatesTemplateArrayOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateArrayOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateArrayOutput) Index(i pulumi.IntInput) GetDeploymentTemplatesTemplateOutput { + return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetDeploymentTemplatesTemplate { + return vs[0].([]GetDeploymentTemplatesTemplate)[vs[1].(int)] + }).(GetDeploymentTemplatesTemplateOutput) +} + +type GetDeploymentTemplatesTemplateApm struct { + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateApmInput is an input type that accepts GetDeploymentTemplatesTemplateApmArgs and GetDeploymentTemplatesTemplateApmOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateApmInput` via: +// +// GetDeploymentTemplatesTemplateApmArgs{...} +type GetDeploymentTemplatesTemplateApmInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateApmOutput() GetDeploymentTemplatesTemplateApmOutput + ToGetDeploymentTemplatesTemplateApmOutputWithContext(context.Context) GetDeploymentTemplatesTemplateApmOutput +} + +type GetDeploymentTemplatesTemplateApmArgs struct { + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateApmArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateApm)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateApmArgs) ToGetDeploymentTemplatesTemplateApmOutput() GetDeploymentTemplatesTemplateApmOutput { + return i.ToGetDeploymentTemplatesTemplateApmOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateApmArgs) ToGetDeploymentTemplatesTemplateApmOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateApmOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateApmOutput) +} + +type GetDeploymentTemplatesTemplateApmOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateApmOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateApm)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateApmOutput) ToGetDeploymentTemplatesTemplateApmOutput() GetDeploymentTemplatesTemplateApmOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateApmOutput) ToGetDeploymentTemplatesTemplateApmOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateApmOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateApmOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateApm) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateApmOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateApm) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateApmOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateApm) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateApmOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateApm) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateApmOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateApm) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearch struct { + Autoscale bool `pulumi:"autoscale"` + // Defines the default configuration for each topology. + Cold GetDeploymentTemplatesTemplateElasticsearchCold `pulumi:"cold"` + // Defines the default configuration for each topology. + Coordinating GetDeploymentTemplatesTemplateElasticsearchCoordinating `pulumi:"coordinating"` + // Defines the default configuration for each topology. + Frozen GetDeploymentTemplatesTemplateElasticsearchFrozen `pulumi:"frozen"` + // Defines the default configuration for each topology. + Hot GetDeploymentTemplatesTemplateElasticsearchHot `pulumi:"hot"` + // Defines the default configuration for each topology. + Master GetDeploymentTemplatesTemplateElasticsearchMaster `pulumi:"master"` + // Defines the default configuration for each topology. + Ml GetDeploymentTemplatesTemplateElasticsearchMl `pulumi:"ml"` + // Defines the default configuration for each topology. + Warm GetDeploymentTemplatesTemplateElasticsearchWarm `pulumi:"warm"` +} + +// GetDeploymentTemplatesTemplateElasticsearchInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchArgs and GetDeploymentTemplatesTemplateElasticsearchOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchOutput() GetDeploymentTemplatesTemplateElasticsearchOutput + ToGetDeploymentTemplatesTemplateElasticsearchOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + // Defines the default configuration for each topology. + Cold GetDeploymentTemplatesTemplateElasticsearchColdInput `pulumi:"cold"` + // Defines the default configuration for each topology. + Coordinating GetDeploymentTemplatesTemplateElasticsearchCoordinatingInput `pulumi:"coordinating"` + // Defines the default configuration for each topology. + Frozen GetDeploymentTemplatesTemplateElasticsearchFrozenInput `pulumi:"frozen"` + // Defines the default configuration for each topology. + Hot GetDeploymentTemplatesTemplateElasticsearchHotInput `pulumi:"hot"` + // Defines the default configuration for each topology. + Master GetDeploymentTemplatesTemplateElasticsearchMasterInput `pulumi:"master"` + // Defines the default configuration for each topology. + Ml GetDeploymentTemplatesTemplateElasticsearchMlInput `pulumi:"ml"` + // Defines the default configuration for each topology. + Warm GetDeploymentTemplatesTemplateElasticsearchWarmInput `pulumi:"warm"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearch)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchArgs) ToGetDeploymentTemplatesTemplateElasticsearchOutput() GetDeploymentTemplatesTemplateElasticsearchOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchArgs) ToGetDeploymentTemplatesTemplateElasticsearchOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearch)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) ToGetDeploymentTemplatesTemplateElasticsearchOutput() GetDeploymentTemplatesTemplateElasticsearchOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) ToGetDeploymentTemplatesTemplateElasticsearchOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Cold() GetDeploymentTemplatesTemplateElasticsearchColdOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchCold { + return v.Cold + }).(GetDeploymentTemplatesTemplateElasticsearchColdOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Coordinating() GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchCoordinating { + return v.Coordinating + }).(GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Frozen() GetDeploymentTemplatesTemplateElasticsearchFrozenOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchFrozen { + return v.Frozen + }).(GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Hot() GetDeploymentTemplatesTemplateElasticsearchHotOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchHot { + return v.Hot + }).(GetDeploymentTemplatesTemplateElasticsearchHotOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Master() GetDeploymentTemplatesTemplateElasticsearchMasterOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchMaster { + return v.Master + }).(GetDeploymentTemplatesTemplateElasticsearchMasterOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Ml() GetDeploymentTemplatesTemplateElasticsearchMlOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchMl { + return v.Ml + }).(GetDeploymentTemplatesTemplateElasticsearchMlOutput) +} + +// Defines the default configuration for each topology. +func (o GetDeploymentTemplatesTemplateElasticsearchOutput) Warm() GetDeploymentTemplatesTemplateElasticsearchWarmOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearch) GetDeploymentTemplatesTemplateElasticsearchWarm { + return v.Warm + }).(GetDeploymentTemplatesTemplateElasticsearchWarmOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchCold struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchColdInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchColdArgs and GetDeploymentTemplatesTemplateElasticsearchColdOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchColdInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchColdArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchColdInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchColdOutput() GetDeploymentTemplatesTemplateElasticsearchColdOutput + ToGetDeploymentTemplatesTemplateElasticsearchColdOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchColdOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchColdArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchColdArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCold)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchColdArgs) ToGetDeploymentTemplatesTemplateElasticsearchColdOutput() GetDeploymentTemplatesTemplateElasticsearchColdOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchColdOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchColdArgs) ToGetDeploymentTemplatesTemplateElasticsearchColdOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchColdOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchColdOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchColdOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchColdOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCold)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) ToGetDeploymentTemplatesTemplateElasticsearchColdOutput() GetDeploymentTemplatesTemplateElasticsearchColdOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) ToGetDeploymentTemplatesTemplateElasticsearchColdOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchColdOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCold) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinating struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchCoordinatingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs and GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchCoordinatingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput + ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinating)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinating)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) string { + return v.InstanceConfigurationId + }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) float64 { + return v.InstanceConfigurationVersion + }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinating) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling) string { + return v.MaxSizeResource + }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling) string { + return v.MinSizeResource + }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozen struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchFrozenInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchFrozenArgs and GetDeploymentTemplatesTemplateElasticsearchFrozenOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchFrozenInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchFrozenArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchFrozenInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenOutput + ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozenArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchFrozenArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozen)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchFrozenArgs) ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchFrozenArgs) ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozenOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozen)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) ToGetDeploymentTemplatesTemplateElasticsearchFrozenOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) float64 { + return v.InstanceConfigurationVersion + }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozen) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchHot struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchHotInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchHotArgs and GetDeploymentTemplatesTemplateElasticsearchHotOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchHotInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchHotArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchHotInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchHotOutput() GetDeploymentTemplatesTemplateElasticsearchHotOutput + ToGetDeploymentTemplatesTemplateElasticsearchHotOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchHotOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchHotArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchHotArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHot)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchHotArgs) ToGetDeploymentTemplatesTemplateElasticsearchHotOutput() GetDeploymentTemplatesTemplateElasticsearchHotOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchHotOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchHotArgs) ToGetDeploymentTemplatesTemplateElasticsearchHotOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchHotOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchHotOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchHotOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchHotOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHot)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) ToGetDeploymentTemplatesTemplateElasticsearchHotOutput() GetDeploymentTemplatesTemplateElasticsearchHotOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) ToGetDeploymentTemplatesTemplateElasticsearchHotOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchHotOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHot) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMaster struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchMasterInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchMasterArgs and GetDeploymentTemplatesTemplateElasticsearchMasterOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchMasterInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchMasterArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchMasterInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchMasterOutput() GetDeploymentTemplatesTemplateElasticsearchMasterOutput + ToGetDeploymentTemplatesTemplateElasticsearchMasterOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchMasterArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchMasterArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMaster)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMasterArgs) ToGetDeploymentTemplatesTemplateElasticsearchMasterOutput() GetDeploymentTemplatesTemplateElasticsearchMasterOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchMasterOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMasterArgs) ToGetDeploymentTemplatesTemplateElasticsearchMasterOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchMasterOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMasterOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchMasterOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMaster)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) ToGetDeploymentTemplatesTemplateElasticsearchMasterOutput() GetDeploymentTemplatesTemplateElasticsearchMasterOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) ToGetDeploymentTemplatesTemplateElasticsearchMasterOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) float64 { + return v.InstanceConfigurationVersion + }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMaster) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMl struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchMlInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchMlArgs and GetDeploymentTemplatesTemplateElasticsearchMlOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchMlInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchMlArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchMlInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchMlOutput() GetDeploymentTemplatesTemplateElasticsearchMlOutput + ToGetDeploymentTemplatesTemplateElasticsearchMlOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchMlOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchMlArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchMlArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMl)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMlArgs) ToGetDeploymentTemplatesTemplateElasticsearchMlOutput() GetDeploymentTemplatesTemplateElasticsearchMlOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchMlOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMlArgs) ToGetDeploymentTemplatesTemplateElasticsearchMlOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMlOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchMlOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMlOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchMlOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMl)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) ToGetDeploymentTemplatesTemplateElasticsearchMlOutput() GetDeploymentTemplatesTemplateElasticsearchMlOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) ToGetDeploymentTemplatesTemplateElasticsearchMlOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMlOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMl) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchWarm struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling `pulumi:"autoscaling"` + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchWarmInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchWarmArgs and GetDeploymentTemplatesTemplateElasticsearchWarmOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchWarmInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchWarmArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchWarmInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchWarmOutput() GetDeploymentTemplatesTemplateElasticsearchWarmOutput + ToGetDeploymentTemplatesTemplateElasticsearchWarmOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchWarmArgs struct { + Autoscaling GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingInput `pulumi:"autoscaling"` + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchWarmArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarm)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchWarmArgs) ToGetDeploymentTemplatesTemplateElasticsearchWarmOutput() GetDeploymentTemplatesTemplateElasticsearchWarmOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchWarmOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchWarmArgs) ToGetDeploymentTemplatesTemplateElasticsearchWarmOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchWarmOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchWarmOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchWarmOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarm)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) ToGetDeploymentTemplatesTemplateElasticsearchWarmOutput() GetDeploymentTemplatesTemplateElasticsearchWarmOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) ToGetDeploymentTemplatesTemplateElasticsearchWarmOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) Autoscaling() GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling { + return v.Autoscaling + }).(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarm) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling struct { + Autoscale bool `pulumi:"autoscale"` + MaxSize string `pulumi:"maxSize"` + MaxSizeResource string `pulumi:"maxSizeResource"` + MinSize string `pulumi:"minSize"` + MinSizeResource string `pulumi:"minSizeResource"` +} + +// GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingInput is an input type that accepts GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs and GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingInput` via: +// +// GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs{...} +type GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput + ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutputWithContext(context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput +} + +type GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs struct { + Autoscale pulumi.BoolInput `pulumi:"autoscale"` + MaxSize pulumi.StringInput `pulumi:"maxSize"` + MaxSizeResource pulumi.StringInput `pulumi:"maxSizeResource"` + MinSize pulumi.StringInput `pulumi:"minSize"` + MinSizeResource pulumi.StringInput `pulumi:"minSizeResource"` +} + +func (GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput { + return i.ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs) ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) +} + +type GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput() GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) ToGetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) Autoscale() pulumi.BoolOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling) bool { return v.Autoscale }).(pulumi.BoolOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) MaxSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling) string { return v.MaxSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) MaxSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling) string { return v.MaxSizeResource }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) MinSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling) string { return v.MinSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput) MinSizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling) string { return v.MinSizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateEnterpriseSearch struct { + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateEnterpriseSearchInput is an input type that accepts GetDeploymentTemplatesTemplateEnterpriseSearchArgs and GetDeploymentTemplatesTemplateEnterpriseSearchOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateEnterpriseSearchInput` via: +// +// GetDeploymentTemplatesTemplateEnterpriseSearchArgs{...} +type GetDeploymentTemplatesTemplateEnterpriseSearchInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateEnterpriseSearchOutput() GetDeploymentTemplatesTemplateEnterpriseSearchOutput + ToGetDeploymentTemplatesTemplateEnterpriseSearchOutputWithContext(context.Context) GetDeploymentTemplatesTemplateEnterpriseSearchOutput +} + +type GetDeploymentTemplatesTemplateEnterpriseSearchArgs struct { + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateEnterpriseSearchArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateEnterpriseSearch)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateEnterpriseSearchArgs) ToGetDeploymentTemplatesTemplateEnterpriseSearchOutput() GetDeploymentTemplatesTemplateEnterpriseSearchOutput { + return i.ToGetDeploymentTemplatesTemplateEnterpriseSearchOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateEnterpriseSearchArgs) ToGetDeploymentTemplatesTemplateEnterpriseSearchOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateEnterpriseSearchOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateEnterpriseSearchOutput) +} + +type GetDeploymentTemplatesTemplateEnterpriseSearchOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateEnterpriseSearchOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateEnterpriseSearch)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) ToGetDeploymentTemplatesTemplateEnterpriseSearchOutput() GetDeploymentTemplatesTemplateEnterpriseSearchOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) ToGetDeploymentTemplatesTemplateEnterpriseSearchOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateEnterpriseSearchOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateEnterpriseSearch) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateEnterpriseSearch) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateEnterpriseSearch) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateEnterpriseSearch) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateEnterpriseSearchOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateEnterpriseSearch) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateIntegrationsServer struct { + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateIntegrationsServerInput is an input type that accepts GetDeploymentTemplatesTemplateIntegrationsServerArgs and GetDeploymentTemplatesTemplateIntegrationsServerOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateIntegrationsServerInput` via: +// +// GetDeploymentTemplatesTemplateIntegrationsServerArgs{...} +type GetDeploymentTemplatesTemplateIntegrationsServerInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateIntegrationsServerOutput() GetDeploymentTemplatesTemplateIntegrationsServerOutput + ToGetDeploymentTemplatesTemplateIntegrationsServerOutputWithContext(context.Context) GetDeploymentTemplatesTemplateIntegrationsServerOutput +} + +type GetDeploymentTemplatesTemplateIntegrationsServerArgs struct { + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateIntegrationsServerArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateIntegrationsServer)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateIntegrationsServerArgs) ToGetDeploymentTemplatesTemplateIntegrationsServerOutput() GetDeploymentTemplatesTemplateIntegrationsServerOutput { + return i.ToGetDeploymentTemplatesTemplateIntegrationsServerOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateIntegrationsServerArgs) ToGetDeploymentTemplatesTemplateIntegrationsServerOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateIntegrationsServerOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateIntegrationsServerOutput) +} + +type GetDeploymentTemplatesTemplateIntegrationsServerOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateIntegrationsServerOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateIntegrationsServer)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) ToGetDeploymentTemplatesTemplateIntegrationsServerOutput() GetDeploymentTemplatesTemplateIntegrationsServerOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) ToGetDeploymentTemplatesTemplateIntegrationsServerOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateIntegrationsServerOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateIntegrationsServer) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateIntegrationsServer) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateIntegrationsServer) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateIntegrationsServer) float64 { + return v.InstanceConfigurationVersion + }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateIntegrationsServerOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateIntegrationsServer) string { return v.SizeResource }).(pulumi.StringOutput) +} + +type GetDeploymentTemplatesTemplateKibana struct { + AvailableSizes []string `pulumi:"availableSizes"` + DefaultSize string `pulumi:"defaultSize"` + InstanceConfigurationId string `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion float64 `pulumi:"instanceConfigurationVersion"` + SizeResource string `pulumi:"sizeResource"` +} + +// GetDeploymentTemplatesTemplateKibanaInput is an input type that accepts GetDeploymentTemplatesTemplateKibanaArgs and GetDeploymentTemplatesTemplateKibanaOutput values. +// You can construct a concrete instance of `GetDeploymentTemplatesTemplateKibanaInput` via: +// +// GetDeploymentTemplatesTemplateKibanaArgs{...} +type GetDeploymentTemplatesTemplateKibanaInput interface { + pulumi.Input + + ToGetDeploymentTemplatesTemplateKibanaOutput() GetDeploymentTemplatesTemplateKibanaOutput + ToGetDeploymentTemplatesTemplateKibanaOutputWithContext(context.Context) GetDeploymentTemplatesTemplateKibanaOutput +} + +type GetDeploymentTemplatesTemplateKibanaArgs struct { + AvailableSizes pulumi.StringArrayInput `pulumi:"availableSizes"` + DefaultSize pulumi.StringInput `pulumi:"defaultSize"` + InstanceConfigurationId pulumi.StringInput `pulumi:"instanceConfigurationId"` + InstanceConfigurationVersion pulumi.Float64Input `pulumi:"instanceConfigurationVersion"` + SizeResource pulumi.StringInput `pulumi:"sizeResource"` +} + +func (GetDeploymentTemplatesTemplateKibanaArgs) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateKibana)(nil)).Elem() +} + +func (i GetDeploymentTemplatesTemplateKibanaArgs) ToGetDeploymentTemplatesTemplateKibanaOutput() GetDeploymentTemplatesTemplateKibanaOutput { + return i.ToGetDeploymentTemplatesTemplateKibanaOutputWithContext(context.Background()) +} + +func (i GetDeploymentTemplatesTemplateKibanaArgs) ToGetDeploymentTemplatesTemplateKibanaOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateKibanaOutput { + return pulumi.ToOutputWithContext(ctx, i).(GetDeploymentTemplatesTemplateKibanaOutput) +} + +type GetDeploymentTemplatesTemplateKibanaOutput struct{ *pulumi.OutputState } + +func (GetDeploymentTemplatesTemplateKibanaOutput) ElementType() reflect.Type { + return reflect.TypeOf((*GetDeploymentTemplatesTemplateKibana)(nil)).Elem() +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) ToGetDeploymentTemplatesTemplateKibanaOutput() GetDeploymentTemplatesTemplateKibanaOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) ToGetDeploymentTemplatesTemplateKibanaOutputWithContext(ctx context.Context) GetDeploymentTemplatesTemplateKibanaOutput { + return o +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) AvailableSizes() pulumi.StringArrayOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateKibana) []string { return v.AvailableSizes }).(pulumi.StringArrayOutput) +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) DefaultSize() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateKibana) string { return v.DefaultSize }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) InstanceConfigurationId() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateKibana) string { return v.InstanceConfigurationId }).(pulumi.StringOutput) +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) InstanceConfigurationVersion() pulumi.Float64Output { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateKibana) float64 { return v.InstanceConfigurationVersion }).(pulumi.Float64Output) +} + +func (o GetDeploymentTemplatesTemplateKibanaOutput) SizeResource() pulumi.StringOutput { + return o.ApplyT(func(v GetDeploymentTemplatesTemplateKibana) string { return v.SizeResource }).(pulumi.StringOutput) +} + type GetDeploymentsApm struct { // Overall health status of the resource instances. Healthy *string `pulumi:"healthy"` @@ -12107,6 +14543,27 @@ func init() { pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentKibanaTopologyArrayInput)(nil)).Elem(), GetDeploymentKibanaTopologyArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentObservabilityInput)(nil)).Elem(), GetDeploymentObservabilityArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentObservabilityArrayInput)(nil)).Elem(), GetDeploymentObservabilityArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateInput)(nil)).Elem(), GetDeploymentTemplatesTemplateArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateArrayInput)(nil)).Elem(), GetDeploymentTemplatesTemplateArray{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateApmInput)(nil)).Elem(), GetDeploymentTemplatesTemplateApmArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchColdInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchColdArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinatingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozenInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchFrozenArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHotInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchHotArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMasterInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchMasterArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMlInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchMlArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarmInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchWarmArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingInput)(nil)).Elem(), GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateEnterpriseSearchInput)(nil)).Elem(), GetDeploymentTemplatesTemplateEnterpriseSearchArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateIntegrationsServerInput)(nil)).Elem(), GetDeploymentTemplatesTemplateIntegrationsServerArgs{}) + pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentTemplatesTemplateKibanaInput)(nil)).Elem(), GetDeploymentTemplatesTemplateKibanaArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentsApmInput)(nil)).Elem(), GetDeploymentsApmArgs{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentsApmArrayInput)(nil)).Elem(), GetDeploymentsApmArray{}) pulumi.RegisterInputType(reflect.TypeOf((*GetDeploymentsDeploymentInput)(nil)).Elem(), GetDeploymentsDeploymentArgs{}) @@ -12231,6 +14688,27 @@ func init() { pulumi.RegisterOutputType(GetDeploymentKibanaTopologyArrayOutput{}) pulumi.RegisterOutputType(GetDeploymentObservabilityOutput{}) pulumi.RegisterOutputType(GetDeploymentObservabilityArrayOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateArrayOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateApmOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchColdOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchCoordinatingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchFrozenOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchHotOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchMasterOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchMlOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchWarmOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateEnterpriseSearchOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateIntegrationsServerOutput{}) + pulumi.RegisterOutputType(GetDeploymentTemplatesTemplateKibanaOutput{}) pulumi.RegisterOutputType(GetDeploymentsApmOutput{}) pulumi.RegisterOutputType(GetDeploymentsApmArrayOutput{}) pulumi.RegisterOutputType(GetDeploymentsDeploymentOutput{}) diff --git a/sdk/go/ec/snapshotRepository.go b/sdk/go/ec/snapshotRepository.go index 4cc2cbad..943e6ff7 100644 --- a/sdk/go/ec/snapshotRepository.go +++ b/sdk/go/ec/snapshotRepository.go @@ -15,6 +15,92 @@ import ( // // > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository. // +// ## Example Usage +// +// ### Azure +// +// +// ```go +// package main +// +// import ( +// +// "encoding/json" +// +// "github.com/pulumi/pulumi-ec/sdk/go/ec" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// tmpJSON0, err := json.Marshal(map[string]interface{}{ +// "container": "my_container", +// "client": "my_alternate_client", +// "compress": false, +// }) +// if err != nil { +// return err +// } +// json0 := string(tmpJSON0) +// _, err = ec.NewSnapshotRepository(ctx, "this", &ec.SnapshotRepositoryArgs{ +// Generic: &ec.SnapshotRepositoryGenericArgs{ +// Type: pulumi.String("azure"), +// Settings: pulumi.String(json0), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// +// ### GCS +// +// +// ```go +// package main +// +// import ( +// +// "encoding/json" +// +// "github.com/pulumi/pulumi-ec/sdk/go/ec" +// "github.com/pulumi/pulumi/sdk/v3/go/pulumi" +// +// ) +// +// func main() { +// pulumi.Run(func(ctx *pulumi.Context) error { +// tmpJSON0, err := json.Marshal(map[string]interface{}{ +// "bucket": "my_bucket", +// "client": "my_alternate_client", +// "compress": false, +// }) +// if err != nil { +// return err +// } +// json0 := string(tmpJSON0) +// _, err = ec.NewSnapshotRepository(ctx, "this", &ec.SnapshotRepositoryArgs{ +// Generic: &ec.SnapshotRepositoryGenericArgs{ +// Type: pulumi.String("gcs"), +// Settings: pulumi.String(json0), +// }, +// }) +// if err != nil { +// return err +// } +// return nil +// }) +// } +// +// ``` +// +// // ## Import // // You can import snapshot repositories using the `name`, for example: diff --git a/sdk/java/src/main/java/com/pulumi/ec/Deployment.java b/sdk/java/src/main/java/com/pulumi/ec/Deployment.java index 0d927784..6cf21939 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/Deployment.java +++ b/sdk/java/src/main/java/com/pulumi/ec/Deployment.java @@ -42,6 +42,8 @@ * * ### With Cross Cluster Search settings * + * ### With Keystore + * * ## Import * * ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -126,7 +128,9 @@ public Output elasticsearch() { /** * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * */ @Export(name="elasticsearchPassword", refs={String.class}, tree="[0]") @@ -135,7 +139,9 @@ public Output elasticsearch() { /** * @return Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * */ public Output elasticsearchPassword() { @@ -199,6 +205,26 @@ public Output> integrationsServer() { public Output> kibana() { return Codegen.optional(this.kibana); } + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + @Export(name="migrateToLatestHardware", refs={Boolean.class}, tree="[0]") + private Output migrateToLatestHardware; + + /** + * @return When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + public Output> migrateToLatestHardware() { + return Codegen.optional(this.migrateToLatestHardware); + } /** * Extension name. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/DeploymentArgs.java b/sdk/java/src/main/java/com/pulumi/ec/DeploymentArgs.java index 5636ec77..7bbbceab 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/DeploymentArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/DeploymentArgs.java @@ -132,6 +132,27 @@ public Optional> kibana() { return Optional.ofNullable(this.kibana); } + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + @Import(name="migrateToLatestHardware") + private @Nullable Output migrateToLatestHardware; + + /** + * @return When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + public Optional> migrateToLatestHardware() { + return Optional.ofNullable(this.migrateToLatestHardware); + } + /** * Extension name. * @@ -268,6 +289,7 @@ private DeploymentArgs(DeploymentArgs $) { this.enterpriseSearch = $.enterpriseSearch; this.integrationsServer = $.integrationsServer; this.kibana = $.kibana; + this.migrateToLatestHardware = $.migrateToLatestHardware; this.name = $.name; this.observability = $.observability; this.region = $.region; @@ -445,6 +467,33 @@ public Builder kibana(DeploymentKibanaArgs kibana) { return kibana(Output.of(kibana)); } + /** + * @param migrateToLatestHardware When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + * @return builder + * + */ + public Builder migrateToLatestHardware(@Nullable Output migrateToLatestHardware) { + $.migrateToLatestHardware = migrateToLatestHardware; + return this; + } + + /** + * @param migrateToLatestHardware When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + * @return builder + * + */ + public Builder migrateToLatestHardware(Boolean migrateToLatestHardware) { + return migrateToLatestHardware(Output.of(migrateToLatestHardware)); + } + /** * @param name Extension name. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/EcFunctions.java b/sdk/java/src/main/java/com/pulumi/ec/EcFunctions.java index 227ec303..df159e27 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/EcFunctions.java +++ b/sdk/java/src/main/java/com/pulumi/ec/EcFunctions.java @@ -14,6 +14,8 @@ import com.pulumi.ec.inputs.GetAzurePrivatelinkEndpointPlainArgs; import com.pulumi.ec.inputs.GetDeploymentArgs; import com.pulumi.ec.inputs.GetDeploymentPlainArgs; +import com.pulumi.ec.inputs.GetDeploymentTemplatesArgs; +import com.pulumi.ec.inputs.GetDeploymentTemplatesPlainArgs; import com.pulumi.ec.inputs.GetDeploymentsArgs; import com.pulumi.ec.inputs.GetDeploymentsPlainArgs; import com.pulumi.ec.inputs.GetGcpPrivateServiceConnectEndpointArgs; @@ -25,6 +27,7 @@ import com.pulumi.ec.outputs.GetAwsPrivatelinkEndpointResult; import com.pulumi.ec.outputs.GetAzurePrivatelinkEndpointResult; import com.pulumi.ec.outputs.GetDeploymentResult; +import com.pulumi.ec.outputs.GetDeploymentTemplatesResult; import com.pulumi.ec.outputs.GetDeploymentsResult; import com.pulumi.ec.outputs.GetGcpPrivateServiceConnectEndpointResult; import com.pulumi.ec.outputs.GetStackResult; @@ -512,6 +515,238 @@ public static Output getDeployment(GetDeploymentArgs args, public static CompletableFuture getDeploymentPlain(GetDeploymentPlainArgs args, InvokeOptions options) { return Deployment.getInstance().invokeAsync("ec:index/getDeployment:getDeployment", TypeShape.of(GetDeploymentResult.class), args, Utilities.withVersion(options)); } + /** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.EcFunctions; + * import com.pulumi.ec.inputs.GetDeploymentTemplatesArgs; + * import com.pulumi.ec.Deployment; + * import com.pulumi.ec.DeploymentArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs; + * import com.pulumi.ec.inputs.DeploymentKibanaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = EcFunctions.getDeploymentTemplates(GetDeploymentTemplatesArgs.builder() + * .region("us-east-1") + * .build()); + * + * var myDeployment = new Deployment("myDeployment", DeploymentArgs.builder() + * .version("8.12.2") + * .region(data.ec_deployment_templates().all_templates().region()) + * .deploymentTemplateId(data.ec_deployment_templates().all_templates().templates()[0].id()) + * .elasticsearch(DeploymentElasticsearchArgs.builder() + * .hot(DeploymentElasticsearchHotArgs.builder() + * .autoscaling() + * .build()) + * .build()) + * .kibana() + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDeploymentTemplates(GetDeploymentTemplatesArgs args) { + return getDeploymentTemplates(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.EcFunctions; + * import com.pulumi.ec.inputs.GetDeploymentTemplatesArgs; + * import com.pulumi.ec.Deployment; + * import com.pulumi.ec.DeploymentArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs; + * import com.pulumi.ec.inputs.DeploymentKibanaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = EcFunctions.getDeploymentTemplates(GetDeploymentTemplatesArgs.builder() + * .region("us-east-1") + * .build()); + * + * var myDeployment = new Deployment("myDeployment", DeploymentArgs.builder() + * .version("8.12.2") + * .region(data.ec_deployment_templates().all_templates().region()) + * .deploymentTemplateId(data.ec_deployment_templates().all_templates().templates()[0].id()) + * .elasticsearch(DeploymentElasticsearchArgs.builder() + * .hot(DeploymentElasticsearchHotArgs.builder() + * .autoscaling() + * .build()) + * .build()) + * .kibana() + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDeploymentTemplatesPlain(GetDeploymentTemplatesPlainArgs args) { + return getDeploymentTemplatesPlain(args, InvokeOptions.Empty); + } + /** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.EcFunctions; + * import com.pulumi.ec.inputs.GetDeploymentTemplatesArgs; + * import com.pulumi.ec.Deployment; + * import com.pulumi.ec.DeploymentArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs; + * import com.pulumi.ec.inputs.DeploymentKibanaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = EcFunctions.getDeploymentTemplates(GetDeploymentTemplatesArgs.builder() + * .region("us-east-1") + * .build()); + * + * var myDeployment = new Deployment("myDeployment", DeploymentArgs.builder() + * .version("8.12.2") + * .region(data.ec_deployment_templates().all_templates().region()) + * .deploymentTemplateId(data.ec_deployment_templates().all_templates().templates()[0].id()) + * .elasticsearch(DeploymentElasticsearchArgs.builder() + * .hot(DeploymentElasticsearchHotArgs.builder() + * .autoscaling() + * .build()) + * .build()) + * .kibana() + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static Output getDeploymentTemplates(GetDeploymentTemplatesArgs args, InvokeOptions options) { + return Deployment.getInstance().invoke("ec:index/getDeploymentTemplates:getDeploymentTemplates", TypeShape.of(GetDeploymentTemplatesResult.class), args, Utilities.withVersion(options)); + } + /** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.EcFunctions; + * import com.pulumi.ec.inputs.GetDeploymentTemplatesArgs; + * import com.pulumi.ec.Deployment; + * import com.pulumi.ec.DeploymentArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotArgs; + * import com.pulumi.ec.inputs.DeploymentElasticsearchHotAutoscalingArgs; + * import com.pulumi.ec.inputs.DeploymentKibanaArgs; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * final var example = EcFunctions.getDeploymentTemplates(GetDeploymentTemplatesArgs.builder() + * .region("us-east-1") + * .build()); + * + * var myDeployment = new Deployment("myDeployment", DeploymentArgs.builder() + * .version("8.12.2") + * .region(data.ec_deployment_templates().all_templates().region()) + * .deploymentTemplateId(data.ec_deployment_templates().all_templates().templates()[0].id()) + * .elasticsearch(DeploymentElasticsearchArgs.builder() + * .hot(DeploymentElasticsearchHotArgs.builder() + * .autoscaling() + * .build()) + * .build()) + * .kibana() + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + */ + public static CompletableFuture getDeploymentTemplatesPlain(GetDeploymentTemplatesPlainArgs args, InvokeOptions options) { + return Deployment.getInstance().invokeAsync("ec:index/getDeploymentTemplates:getDeploymentTemplates", TypeShape.of(GetDeploymentTemplatesResult.class), args, Utilities.withVersion(options)); + } /** * Use this data source to retrieve a list of IDs for the deployment and resource kinds, based on the specified query. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/SnapshotRepository.java b/sdk/java/src/main/java/com/pulumi/ec/SnapshotRepository.java index 7da937a0..d36b6847 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/SnapshotRepository.java +++ b/sdk/java/src/main/java/com/pulumi/ec/SnapshotRepository.java @@ -23,6 +23,8 @@ * * ## Example Usage * + * ### S3 style + * * <!--Start PulumiCodeChooser --> * ```java * package generated_program; @@ -59,6 +61,92 @@ * ``` * <!--End PulumiCodeChooser --> * + * ### Azure + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.SnapshotRepository; + * import com.pulumi.ec.SnapshotRepositoryArgs; + * import com.pulumi.ec.inputs.SnapshotRepositoryGenericArgs; + * import static com.pulumi.codegen.internal.Serialization.*; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var this_ = new SnapshotRepository("this", SnapshotRepositoryArgs.builder() + * .generic(SnapshotRepositoryGenericArgs.builder() + * .type("azure") + * .settings(serializeJson( + * jsonObject( + * jsonProperty("container", "my_container"), + * jsonProperty("client", "my_alternate_client"), + * jsonProperty("compress", false) + * ))) + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * + * ### GCS + * + * <!--Start PulumiCodeChooser --> + * ```java + * package generated_program; + * + * import com.pulumi.Context; + * import com.pulumi.Pulumi; + * import com.pulumi.core.Output; + * import com.pulumi.ec.SnapshotRepository; + * import com.pulumi.ec.SnapshotRepositoryArgs; + * import com.pulumi.ec.inputs.SnapshotRepositoryGenericArgs; + * import static com.pulumi.codegen.internal.Serialization.*; + * import java.util.List; + * import java.util.ArrayList; + * import java.util.Map; + * import java.io.File; + * import java.nio.file.Files; + * import java.nio.file.Paths; + * + * public class App { + * public static void main(String[] args) { + * Pulumi.run(App::stack); + * } + * + * public static void stack(Context ctx) { + * var this_ = new SnapshotRepository("this", SnapshotRepositoryArgs.builder() + * .generic(SnapshotRepositoryGenericArgs.builder() + * .type("gcs") + * .settings(serializeJson( + * jsonObject( + * jsonProperty("bucket", "my_bucket"), + * jsonProperty("client", "my_alternate_client"), + * jsonProperty("compress", false) + * ))) + * .build()) + * .build()); + * + * } + * } + * ``` + * <!--End PulumiCodeChooser --> + * * ## Import * * You can import snapshot repositories using the `name`, for example: diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentApmArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentApmArgs.java index 5f05f7d7..37218ced 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentApmArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentApmArgs.java @@ -60,6 +60,27 @@ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + @Import(name="refId") private @Nullable Output refId; @@ -118,6 +139,9 @@ private DeploymentApmArgs(DeploymentApmArgs $) { this.httpEndpoint = $.httpEndpoint; this.httpsEndpoint = $.httpsEndpoint; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.refId = $.refId; this.region = $.region; this.resourceId = $.resourceId; @@ -201,6 +225,33 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + public Builder refId(@Nullable Output refId) { $.refId = refId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdArgs.java index de641cb9..4b681ddf 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchColdArgs() {} private DeploymentElasticsearchColdArgs(DeploymentElasticsearchColdArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchColdAutoscalingArgs autoscalin } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdAutoscalingArgs.java index 10b05f2a..b5437859 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchColdAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchColdAutoscalingArgs extends com.pulumi public static final DeploymentElasticsearchColdAutoscalingArgs Empty = new DeploymentElasticsearchColdAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchColdAutoscalingArgs() {} private DeploymentElasticsearchColdAutoscalingArgs(DeploymentElasticsearchColdAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchColdAutoscalingArgs defaults) { $ = new DeploymentElasticsearchColdAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingArgs.java index ebc04439..d7ba6e28 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchCoordinatingArgs() {} private DeploymentElasticsearchCoordinatingArgs(DeploymentElasticsearchCoordinatingArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchCoordinatingAutoscalingArgs au } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.java index c4b7b3c0..d50d1f7f 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchCoordinatingAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchCoordinatingAutoscalingArgs extends co public static final DeploymentElasticsearchCoordinatingAutoscalingArgs Empty = new DeploymentElasticsearchCoordinatingAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchCoordinatingAutoscalingArgs() {} private DeploymentElasticsearchCoordinatingAutoscalingArgs(DeploymentElasticsearchCoordinatingAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchCoordinatingAutoscalingArgs defaults) { $ = new DeploymentElasticsearchCoordinatingAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenArgs.java index a7efc774..283ed537 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchFrozenArgs() {} private DeploymentElasticsearchFrozenArgs(DeploymentElasticsearchFrozenArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchFrozenAutoscalingArgs autoscal } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenAutoscalingArgs.java index 0e0ad6b7..2b25efd0 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchFrozenAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchFrozenAutoscalingArgs extends com.pulu public static final DeploymentElasticsearchFrozenAutoscalingArgs Empty = new DeploymentElasticsearchFrozenAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchFrozenAutoscalingArgs() {} private DeploymentElasticsearchFrozenAutoscalingArgs(DeploymentElasticsearchFrozenAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchFrozenAutoscalingArgs defaults) { $ = new DeploymentElasticsearchFrozenAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotArgs.java index 2032a660..b5db3178 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchHotArgs() {} private DeploymentElasticsearchHotArgs(DeploymentElasticsearchHotArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchHotAutoscalingArgs autoscaling } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotAutoscalingArgs.java index 025321b2..96f81601 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchHotAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchHotAutoscalingArgs extends com.pulumi. public static final DeploymentElasticsearchHotAutoscalingArgs Empty = new DeploymentElasticsearchHotAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchHotAutoscalingArgs() {} private DeploymentElasticsearchHotAutoscalingArgs(DeploymentElasticsearchHotAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchHotAutoscalingArgs defaults) { $ = new DeploymentElasticsearchHotAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterArgs.java index 21a4980e..36748d63 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchMasterArgs() {} private DeploymentElasticsearchMasterArgs(DeploymentElasticsearchMasterArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchMasterAutoscalingArgs autoscal } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterAutoscalingArgs.java index 62229873..c543922a 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMasterAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchMasterAutoscalingArgs extends com.pulu public static final DeploymentElasticsearchMasterAutoscalingArgs Empty = new DeploymentElasticsearchMasterAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchMasterAutoscalingArgs() {} private DeploymentElasticsearchMasterAutoscalingArgs(DeploymentElasticsearchMasterAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchMasterAutoscalingArgs defaults) { $ = new DeploymentElasticsearchMasterAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlArgs.java index 63d7e2a0..9d55cae4 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchMlArgs() {} private DeploymentElasticsearchMlArgs(DeploymentElasticsearchMlArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchMlAutoscalingArgs autoscaling) } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlAutoscalingArgs.java index 3f9c25f5..cbd00a90 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchMlAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchMlAutoscalingArgs extends com.pulumi.r public static final DeploymentElasticsearchMlAutoscalingArgs Empty = new DeploymentElasticsearchMlAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchMlAutoscalingArgs() {} private DeploymentElasticsearchMlAutoscalingArgs(DeploymentElasticsearchMlAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchMlAutoscalingArgs defaults) { $ = new DeploymentElasticsearchMlAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmArgs.java index 82ca302f..84f9ea8f 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmArgs.java @@ -35,20 +35,65 @@ public Output autoscaling() { } /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element * */ @Import(name="instanceConfigurationId") private @Nullable Output instanceConfigurationId; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * Instance Configuration version of the topology element + * + */ + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + /** * The computed list of node roles for the current topology element * @@ -174,6 +219,9 @@ private DeploymentElasticsearchWarmArgs() {} private DeploymentElasticsearchWarmArgs(DeploymentElasticsearchWarmArgs $) { this.autoscaling = $.autoscaling; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeRoles = $.nodeRoles; this.nodeTypeData = $.nodeTypeData; this.nodeTypeIngest = $.nodeTypeIngest; @@ -224,7 +272,7 @@ public Builder autoscaling(DeploymentElasticsearchWarmAutoscalingArgs autoscalin } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -235,7 +283,7 @@ public Builder instanceConfigurationId(@Nullable Output instanceConfigur } /** - * @param instanceConfigurationId Computed Instance Configuration ID of the topology element + * @param instanceConfigurationId Instance Configuration ID of the topology element * * @return builder * @@ -244,6 +292,69 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + /** + * @param instanceConfigurationVersion Instance Configuration version of the topology element + * + * @return builder + * + */ + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + /** + * @param latestInstanceConfigurationId Latest Instance Configuration ID available on the deployment template for the topology element + * + * @return builder + * + */ + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + /** + * @param latestInstanceConfigurationVersion Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + * @return builder + * + */ + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + /** * @param nodeRoles The computed list of node roles for the current topology element * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmAutoscalingArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmAutoscalingArgs.java index bc78bda5..e3fe8ac3 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmAutoscalingArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentElasticsearchWarmAutoscalingArgs.java @@ -5,6 +5,7 @@ import com.pulumi.core.Output; import com.pulumi.core.annotations.Import; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -15,6 +16,21 @@ public final class DeploymentElasticsearchWarmAutoscalingArgs extends com.pulumi public static final DeploymentElasticsearchWarmAutoscalingArgs Empty = new DeploymentElasticsearchWarmAutoscalingArgs(); + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + @Import(name="autoscale") + private @Nullable Output autoscale; + + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional> autoscale() { + return Optional.ofNullable(this.autoscale); + } + /** * Maximum size value for the maximum autoscaling setting. * @@ -93,6 +109,7 @@ public Optional> policyOverrideJson() { private DeploymentElasticsearchWarmAutoscalingArgs() {} private DeploymentElasticsearchWarmAutoscalingArgs(DeploymentElasticsearchWarmAutoscalingArgs $) { + this.autoscale = $.autoscale; this.maxSize = $.maxSize; this.maxSizeResource = $.maxSizeResource; this.minSize = $.minSize; @@ -118,6 +135,27 @@ public Builder(DeploymentElasticsearchWarmAutoscalingArgs defaults) { $ = new DeploymentElasticsearchWarmAutoscalingArgs(Objects.requireNonNull(defaults)); } + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(@Nullable Output autoscale) { + $.autoscale = autoscale; + return this; + } + + /** + * @param autoscale Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + * @return builder + * + */ + public Builder autoscale(Boolean autoscale) { + return autoscale(Output.of(autoscale)); + } + /** * @param maxSize Maximum size value for the maximum autoscaling setting. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentEnterpriseSearchArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentEnterpriseSearchArgs.java index e4a673f5..1f0e6b3c 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentEnterpriseSearchArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentEnterpriseSearchArgs.java @@ -61,6 +61,27 @@ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + @Import(name="nodeTypeAppserver") private @Nullable Output nodeTypeAppserver; @@ -140,6 +161,9 @@ private DeploymentEnterpriseSearchArgs(DeploymentEnterpriseSearchArgs $) { this.httpEndpoint = $.httpEndpoint; this.httpsEndpoint = $.httpsEndpoint; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.nodeTypeAppserver = $.nodeTypeAppserver; this.nodeTypeConnector = $.nodeTypeConnector; this.nodeTypeWorker = $.nodeTypeWorker; @@ -226,6 +250,33 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + public Builder nodeTypeAppserver(@Nullable Output nodeTypeAppserver) { $.nodeTypeAppserver = nodeTypeAppserver; return this; diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerArgs.java index 52307bec..2ef2a196 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerArgs.java @@ -76,6 +76,27 @@ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + @Import(name="refId") private @Nullable Output refId; @@ -135,6 +156,9 @@ private DeploymentIntegrationsServerArgs(DeploymentIntegrationsServerArgs $) { this.httpEndpoint = $.httpEndpoint; this.httpsEndpoint = $.httpsEndpoint; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.refId = $.refId; this.region = $.region; this.resourceId = $.resourceId; @@ -239,6 +263,33 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + public Builder refId(@Nullable Output refId) { $.refId = refId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerEndpointsArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerEndpointsArgs.java index b2f2b5cd..74c2b226 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerEndpointsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentIntegrationsServerEndpointsArgs.java @@ -28,11 +28,27 @@ public Output fleet() { return this.fleet; } + @Import(name="profiling", required=true) + private Output profiling; + + public Output profiling() { + return this.profiling; + } + + @Import(name="symbols", required=true) + private Output symbols; + + public Output symbols() { + return this.symbols; + } + private DeploymentIntegrationsServerEndpointsArgs() {} private DeploymentIntegrationsServerEndpointsArgs(DeploymentIntegrationsServerEndpointsArgs $) { this.apm = $.apm; this.fleet = $.fleet; + this.profiling = $.profiling; + this.symbols = $.symbols; } public static Builder builder() { @@ -71,6 +87,24 @@ public Builder fleet(String fleet) { return fleet(Output.of(fleet)); } + public Builder profiling(Output profiling) { + $.profiling = profiling; + return this; + } + + public Builder profiling(String profiling) { + return profiling(Output.of(profiling)); + } + + public Builder symbols(Output symbols) { + $.symbols = symbols; + return this; + } + + public Builder symbols(String symbols) { + return symbols(Output.of(symbols)); + } + public DeploymentIntegrationsServerEndpointsArgs build() { if ($.apm == null) { throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpointsArgs", "apm"); @@ -78,6 +112,12 @@ public DeploymentIntegrationsServerEndpointsArgs build() { if ($.fleet == null) { throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpointsArgs", "fleet"); } + if ($.profiling == null) { + throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpointsArgs", "profiling"); + } + if ($.symbols == null) { + throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpointsArgs", "symbols"); + } return $; } } diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentKibanaArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentKibanaArgs.java index 9a32511e..65456e22 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentKibanaArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentKibanaArgs.java @@ -60,6 +60,27 @@ public Optional> instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + @Import(name="instanceConfigurationVersion") + private @Nullable Output instanceConfigurationVersion; + + public Optional> instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + + @Import(name="latestInstanceConfigurationId") + private @Nullable Output latestInstanceConfigurationId; + + public Optional> latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + + @Import(name="latestInstanceConfigurationVersion") + private @Nullable Output latestInstanceConfigurationVersion; + + public Optional> latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } + @Import(name="refId") private @Nullable Output refId; @@ -118,6 +139,9 @@ private DeploymentKibanaArgs(DeploymentKibanaArgs $) { this.httpEndpoint = $.httpEndpoint; this.httpsEndpoint = $.httpsEndpoint; this.instanceConfigurationId = $.instanceConfigurationId; + this.instanceConfigurationVersion = $.instanceConfigurationVersion; + this.latestInstanceConfigurationId = $.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = $.latestInstanceConfigurationVersion; this.refId = $.refId; this.region = $.region; this.resourceId = $.resourceId; @@ -201,6 +225,33 @@ public Builder instanceConfigurationId(String instanceConfigurationId) { return instanceConfigurationId(Output.of(instanceConfigurationId)); } + public Builder instanceConfigurationVersion(@Nullable Output instanceConfigurationVersion) { + $.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + + public Builder instanceConfigurationVersion(Integer instanceConfigurationVersion) { + return instanceConfigurationVersion(Output.of(instanceConfigurationVersion)); + } + + public Builder latestInstanceConfigurationId(@Nullable Output latestInstanceConfigurationId) { + $.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + + public Builder latestInstanceConfigurationId(String latestInstanceConfigurationId) { + return latestInstanceConfigurationId(Output.of(latestInstanceConfigurationId)); + } + + public Builder latestInstanceConfigurationVersion(@Nullable Output latestInstanceConfigurationVersion) { + $.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + + public Builder latestInstanceConfigurationVersion(Integer latestInstanceConfigurationVersion) { + return latestInstanceConfigurationVersion(Output.of(latestInstanceConfigurationVersion)); + } + public Builder refId(@Nullable Output refId) { $.refId = refId; return this; diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentState.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentState.java index d221c5a6..63be96da 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentState.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/DeploymentState.java @@ -94,7 +94,9 @@ public Optional> elasticsearch() { /** * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * */ @Import(name="elasticsearchPassword") @@ -103,7 +105,9 @@ public Optional> elasticsearch() { /** * @return Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * */ public Optional> elasticsearchPassword() { @@ -172,6 +176,27 @@ public Optional> kibana() { return Optional.ofNullable(this.kibana); } + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + @Import(name="migrateToLatestHardware") + private @Nullable Output migrateToLatestHardware; + + /** + * @return When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + */ + public Optional> migrateToLatestHardware() { + return Optional.ofNullable(this.migrateToLatestHardware); + } + /** * Extension name. * @@ -311,6 +336,7 @@ private DeploymentState(DeploymentState $) { this.enterpriseSearch = $.enterpriseSearch; this.integrationsServer = $.integrationsServer; this.kibana = $.kibana; + this.migrateToLatestHardware = $.migrateToLatestHardware; this.name = $.name; this.observability = $.observability; this.region = $.region; @@ -435,7 +461,9 @@ public Builder elasticsearch(DeploymentElasticsearchArgs elasticsearch) { /** * @param elasticsearchPassword Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * * @return builder * @@ -448,7 +476,9 @@ public Builder elasticsearchPassword(@Nullable Output elasticsearchPassw /** * @param elasticsearchPassword Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * <code>elastic</code> user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. + * import the <code>elasticsearch_username</code> or <code>elasticsearch_password</code> attributes. ~> **Note on + * deployment credentials in state** The <code>elastic</code> user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. * * @return builder * @@ -543,6 +573,33 @@ public Builder kibana(DeploymentKibanaArgs kibana) { return kibana(Output.of(kibana)); } + /** + * @param migrateToLatestHardware When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + * @return builder + * + */ + public Builder migrateToLatestHardware(@Nullable Output migrateToLatestHardware) { + $.migrateToLatestHardware = migrateToLatestHardware; + return this; + } + + /** + * @param migrateToLatestHardware When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * <code>instance_configuration_id</code> or <code>instance_configuration_version</code> fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + * + * @return builder + * + */ + public Builder migrateToLatestHardware(Boolean migrateToLatestHardware) { + return migrateToLatestHardware(Output.of(migrateToLatestHardware)); + } + /** * @param name Extension name. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesArgs.java new file mode 100644 index 00000000..67398d75 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesArgs.java @@ -0,0 +1,199 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.inputs; + +import com.pulumi.core.Output; +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDeploymentTemplatesArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDeploymentTemplatesArgs Empty = new GetDeploymentTemplatesArgs(); + + /** + * The id of the deployment template. + * + */ + @Import(name="id") + private @Nullable Output id; + + /** + * @return The id of the deployment template. + * + */ + public Optional> id() { + return Optional.ofNullable(this.id); + } + + /** + * Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + @Import(name="region", required=true) + private Output region; + + /** + * @return Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + public Output region() { + return this.region; + } + + /** + * Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + @Import(name="showDeprecated") + private @Nullable Output showDeprecated; + + /** + * @return Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + public Optional> showDeprecated() { + return Optional.ofNullable(this.showDeprecated); + } + + /** + * Filters for deployment templates compatible with this stack version. + * + */ + @Import(name="stackVersion") + private @Nullable Output stackVersion; + + /** + * @return Filters for deployment templates compatible with this stack version. + * + */ + public Optional> stackVersion() { + return Optional.ofNullable(this.stackVersion); + } + + private GetDeploymentTemplatesArgs() {} + + private GetDeploymentTemplatesArgs(GetDeploymentTemplatesArgs $) { + this.id = $.id; + this.region = $.region; + this.showDeprecated = $.showDeprecated; + this.stackVersion = $.stackVersion; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDeploymentTemplatesArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDeploymentTemplatesArgs $; + + public Builder() { + $ = new GetDeploymentTemplatesArgs(); + } + + public Builder(GetDeploymentTemplatesArgs defaults) { + $ = new GetDeploymentTemplatesArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the deployment template. + * + * @return builder + * + */ + public Builder id(@Nullable Output id) { + $.id = id; + return this; + } + + /** + * @param id The id of the deployment template. + * + * @return builder + * + */ + public Builder id(String id) { + return id(Output.of(id)); + } + + /** + * @param region Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + * @return builder + * + */ + public Builder region(Output region) { + $.region = region; + return this; + } + + /** + * @param region Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + * @return builder + * + */ + public Builder region(String region) { + return region(Output.of(region)); + } + + /** + * @param showDeprecated Enable to also show deprecated deployment templates. (Set to false by default.) + * + * @return builder + * + */ + public Builder showDeprecated(@Nullable Output showDeprecated) { + $.showDeprecated = showDeprecated; + return this; + } + + /** + * @param showDeprecated Enable to also show deprecated deployment templates. (Set to false by default.) + * + * @return builder + * + */ + public Builder showDeprecated(Boolean showDeprecated) { + return showDeprecated(Output.of(showDeprecated)); + } + + /** + * @param stackVersion Filters for deployment templates compatible with this stack version. + * + * @return builder + * + */ + public Builder stackVersion(@Nullable Output stackVersion) { + $.stackVersion = stackVersion; + return this; + } + + /** + * @param stackVersion Filters for deployment templates compatible with this stack version. + * + * @return builder + * + */ + public Builder stackVersion(String stackVersion) { + return stackVersion(Output.of(stackVersion)); + } + + public GetDeploymentTemplatesArgs build() { + if ($.region == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesArgs", "region"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesPlainArgs.java new file mode 100644 index 00000000..8590d20f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentTemplatesPlainArgs.java @@ -0,0 +1,158 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.inputs; + +import com.pulumi.core.annotations.Import; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + + +public final class GetDeploymentTemplatesPlainArgs extends com.pulumi.resources.InvokeArgs { + + public static final GetDeploymentTemplatesPlainArgs Empty = new GetDeploymentTemplatesPlainArgs(); + + /** + * The id of the deployment template. + * + */ + @Import(name="id") + private @Nullable String id; + + /** + * @return The id of the deployment template. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + + /** + * Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + @Import(name="region", required=true) + private String region; + + /** + * @return Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + public String region() { + return this.region; + } + + /** + * Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + @Import(name="showDeprecated") + private @Nullable Boolean showDeprecated; + + /** + * @return Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + public Optional showDeprecated() { + return Optional.ofNullable(this.showDeprecated); + } + + /** + * Filters for deployment templates compatible with this stack version. + * + */ + @Import(name="stackVersion") + private @Nullable String stackVersion; + + /** + * @return Filters for deployment templates compatible with this stack version. + * + */ + public Optional stackVersion() { + return Optional.ofNullable(this.stackVersion); + } + + private GetDeploymentTemplatesPlainArgs() {} + + private GetDeploymentTemplatesPlainArgs(GetDeploymentTemplatesPlainArgs $) { + this.id = $.id; + this.region = $.region; + this.showDeprecated = $.showDeprecated; + this.stackVersion = $.stackVersion; + } + + public static Builder builder() { + return new Builder(); + } + public static Builder builder(GetDeploymentTemplatesPlainArgs defaults) { + return new Builder(defaults); + } + + public static final class Builder { + private GetDeploymentTemplatesPlainArgs $; + + public Builder() { + $ = new GetDeploymentTemplatesPlainArgs(); + } + + public Builder(GetDeploymentTemplatesPlainArgs defaults) { + $ = new GetDeploymentTemplatesPlainArgs(Objects.requireNonNull(defaults)); + } + + /** + * @param id The id of the deployment template. + * + * @return builder + * + */ + public Builder id(@Nullable String id) { + $.id = id; + return this; + } + + /** + * @param region Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + * @return builder + * + */ + public Builder region(String region) { + $.region = region; + return this; + } + + /** + * @param showDeprecated Enable to also show deprecated deployment templates. (Set to false by default.) + * + * @return builder + * + */ + public Builder showDeprecated(@Nullable Boolean showDeprecated) { + $.showDeprecated = showDeprecated; + return this; + } + + /** + * @param stackVersion Filters for deployment templates compatible with this stack version. + * + * @return builder + * + */ + public Builder stackVersion(@Nullable String stackVersion) { + $.stackVersion = stackVersion; + return this; + } + + public GetDeploymentTemplatesPlainArgs build() { + if ($.region == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesPlainArgs", "region"); + } + return $; + } + } + +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsArgs.java index 6b3c9c27..9c1158f5 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsArgs.java @@ -128,6 +128,21 @@ public Optional>> kibanas() { return Optional.ofNullable(this.kibanas); } + /** + * The name of the deployment. + * + */ + @Import(name="name") + private @Nullable Output name; + + /** + * @return The name of the deployment. + * + */ + public Optional> name() { + return Optional.ofNullable(this.name); + } + /** * Prefix to filter the returned deployment list by. * @@ -183,6 +198,7 @@ private GetDeploymentsArgs(GetDeploymentsArgs $) { this.healthy = $.healthy; this.integrationsServers = $.integrationsServers; this.kibanas = $.kibanas; + this.name = $.name; this.namePrefix = $.namePrefix; this.size = $.size; this.tags = $.tags; @@ -403,6 +419,27 @@ public Builder kibanas(GetDeploymentsKibanaArgs... kibanas) { return kibanas(List.of(kibanas)); } + /** + * @param name The name of the deployment. + * + * @return builder + * + */ + public Builder name(@Nullable Output name) { + $.name = name; + return this; + } + + /** + * @param name The name of the deployment. + * + * @return builder + * + */ + public Builder name(String name) { + return name(Output.of(name)); + } + /** * @param namePrefix Prefix to filter the returned deployment list by. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsPlainArgs.java b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsPlainArgs.java index 3c8e4437..225f4348 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsPlainArgs.java +++ b/sdk/java/src/main/java/com/pulumi/ec/inputs/GetDeploymentsPlainArgs.java @@ -127,6 +127,21 @@ public Optional> kibanas() { return Optional.ofNullable(this.kibanas); } + /** + * The name of the deployment. + * + */ + @Import(name="name") + private @Nullable String name; + + /** + * @return The name of the deployment. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } + /** * Prefix to filter the returned deployment list by. * @@ -182,6 +197,7 @@ private GetDeploymentsPlainArgs(GetDeploymentsPlainArgs $) { this.healthy = $.healthy; this.integrationsServers = $.integrationsServers; this.kibanas = $.kibanas; + this.name = $.name; this.namePrefix = $.namePrefix; this.size = $.size; this.tags = $.tags; @@ -332,6 +348,17 @@ public Builder kibanas(GetDeploymentsKibana... kibanas) { return kibanas(List.of(kibanas)); } + /** + * @param name The name of the deployment. + * + * @return builder + * + */ + public Builder name(@Nullable String name) { + $.name = name; + return this; + } + /** * @param namePrefix Prefix to filter the returned deployment list by. * diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentApm.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentApm.java index e61492d1..7a59f0ae 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentApm.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentApm.java @@ -22,6 +22,9 @@ public final class DeploymentApm { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -53,6 +56,15 @@ public Optional httpsEndpoint() { public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } public Optional refId() { return Optional.ofNullable(this.refId); } @@ -90,6 +102,9 @@ public static final class Builder { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -104,6 +119,9 @@ public Builder(DeploymentApm defaults) { this.httpEndpoint = defaults.httpEndpoint; this.httpsEndpoint = defaults.httpsEndpoint; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.refId = defaults.refId; this.region = defaults.region; this.resourceId = defaults.resourceId; @@ -143,6 +161,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder refId(@Nullable String refId) { this.refId = refId; @@ -185,6 +221,9 @@ public DeploymentApm build() { _resultValue.httpEndpoint = httpEndpoint; _resultValue.httpsEndpoint = httpsEndpoint; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.refId = refId; _resultValue.region = region; _resultValue.resourceId = resourceId; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCold.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCold.java index 1950f3fe..fb5d45d8 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCold.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCold.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchCold { */ private DeploymentElasticsearchColdAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchColdAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchCold defaults) { public static final class Builder { private DeploymentElasticsearchColdAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchCold defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchCold build() { final var _resultValue = new DeploymentElasticsearchCold(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchColdAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchColdAutoscaling.java index f96c8970..7574b83b 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchColdAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchColdAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchColdAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchColdAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchColdAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchColdAutoscaling defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchColdAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchColdAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchColdAutoscaling build() { final var _resultValue = new DeploymentElasticsearchColdAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinating.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinating.java index efefa5c1..6577400a 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinating.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinating.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchCoordinating { */ private DeploymentElasticsearchCoordinatingAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchCoordinatingAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchCoordinating defaults) { public static final class Builder { private DeploymentElasticsearchCoordinatingAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchCoordinating defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchCoordinating build() { final var _resultValue = new DeploymentElasticsearchCoordinating(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinatingAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinatingAutoscaling.java index 7c7babdc..5ccf98de 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinatingAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchCoordinatingAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchCoordinatingAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchCoordinatingAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchCoordinatingAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchCoordinatingAutoscaling def } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchCoordinatingAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchCoordinatingAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchCoordinatingAutoscaling build() { final var _resultValue = new DeploymentElasticsearchCoordinatingAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozen.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozen.java index 2e06293a..ead080ff 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozen.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozen.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchFrozen { */ private DeploymentElasticsearchFrozenAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchFrozenAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchFrozen defaults) { public static final class Builder { private DeploymentElasticsearchFrozenAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchFrozen defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchFrozen build() { final var _resultValue = new DeploymentElasticsearchFrozen(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozenAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozenAutoscaling.java index 8caf3e30..cc6d4b06 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozenAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchFrozenAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchFrozenAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchFrozenAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchFrozenAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchFrozenAutoscaling defaults) } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchFrozenAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchFrozenAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchFrozenAutoscaling build() { final var _resultValue = new DeploymentElasticsearchFrozenAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHot.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHot.java index f6b8e69e..1b62f3b8 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHot.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHot.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchHot { */ private DeploymentElasticsearchHotAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchHotAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchHot defaults) { public static final class Builder { private DeploymentElasticsearchHotAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchHot defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchHot build() { final var _resultValue = new DeploymentElasticsearchHot(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHotAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHotAutoscaling.java index 2ed1b32b..48ca7dd8 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHotAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchHotAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchHotAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchHotAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchHotAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchHotAutoscaling defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchHotAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchHotAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchHotAutoscaling build() { final var _resultValue = new DeploymentElasticsearchHotAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMaster.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMaster.java index 84a94545..7cf6f174 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMaster.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMaster.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchMaster { */ private DeploymentElasticsearchMasterAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchMasterAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchMaster defaults) { public static final class Builder { private DeploymentElasticsearchMasterAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchMaster defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchMaster build() { final var _resultValue = new DeploymentElasticsearchMaster(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMasterAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMasterAutoscaling.java index a1691cc3..375ff32d 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMasterAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMasterAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchMasterAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchMasterAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchMasterAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchMasterAutoscaling defaults) } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchMasterAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchMasterAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchMasterAutoscaling build() { final var _resultValue = new DeploymentElasticsearchMasterAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMl.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMl.java index 08adcca9..71b51811 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMl.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMl.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchMl { */ private DeploymentElasticsearchMlAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchMlAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchMl defaults) { public static final class Builder { private DeploymentElasticsearchMlAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchMl defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchMl build() { final var _resultValue = new DeploymentElasticsearchMl(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMlAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMlAutoscaling.java index 984551c9..2f02ab6c 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMlAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchMlAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchMlAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchMlAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchMlAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchMlAutoscaling defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchMlAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchMlAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchMlAutoscaling build() { final var _resultValue = new DeploymentElasticsearchMlAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarm.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarm.java index 0597c1eb..3b2cbadf 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarm.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarm.java @@ -21,10 +21,25 @@ public final class DeploymentElasticsearchWarm { */ private DeploymentElasticsearchWarmAutoscaling autoscaling; /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ private @Nullable String instanceConfigurationId; + /** + * @return Instance Configuration version of the topology element + * + */ + private @Nullable Integer instanceConfigurationVersion; + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + private @Nullable String latestInstanceConfigurationId; + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + private @Nullable Integer latestInstanceConfigurationVersion; /** * @return The computed list of node roles for the current topology element * @@ -75,12 +90,33 @@ public DeploymentElasticsearchWarmAutoscaling autoscaling() { return this.autoscaling; } /** - * @return Computed Instance Configuration ID of the topology element + * @return Instance Configuration ID of the topology element * */ public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + /** + * @return Instance Configuration version of the topology element + * + */ + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + /** + * @return Latest Instance Configuration ID available on the deployment template for the topology element + * + */ + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + /** + * @return Latest version available for the Instance Configuration with the latest_instance_configuration_id + * + */ + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } /** * @return The computed list of node roles for the current topology element * @@ -149,6 +185,9 @@ public static Builder builder(DeploymentElasticsearchWarm defaults) { public static final class Builder { private DeploymentElasticsearchWarmAutoscaling autoscaling; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable List nodeRoles; private @Nullable String nodeTypeData; private @Nullable String nodeTypeIngest; @@ -162,6 +201,9 @@ public Builder(DeploymentElasticsearchWarm defaults) { Objects.requireNonNull(defaults); this.autoscaling = defaults.autoscaling; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeRoles = defaults.nodeRoles; this.nodeTypeData = defaults.nodeTypeData; this.nodeTypeIngest = defaults.nodeTypeIngest; @@ -187,6 +229,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeRoles(@Nullable List nodeRoles) { this.nodeRoles = nodeRoles; @@ -241,6 +301,9 @@ public DeploymentElasticsearchWarm build() { final var _resultValue = new DeploymentElasticsearchWarm(); _resultValue.autoscaling = autoscaling; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeRoles = nodeRoles; _resultValue.nodeTypeData = nodeTypeData; _resultValue.nodeTypeIngest = nodeTypeIngest; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarmAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarmAutoscaling.java index 5e8db95b..e9b66044 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarmAutoscaling.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentElasticsearchWarmAutoscaling.java @@ -4,6 +4,7 @@ package com.pulumi.ec.outputs; import com.pulumi.core.annotations.CustomType; +import java.lang.Boolean; import java.lang.String; import java.util.Objects; import java.util.Optional; @@ -11,6 +12,11 @@ @CustomType public final class DeploymentElasticsearchWarmAutoscaling { + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + private @Nullable Boolean autoscale; /** * @return Maximum size value for the maximum autoscaling setting. * @@ -38,6 +44,13 @@ public final class DeploymentElasticsearchWarmAutoscaling { private @Nullable String policyOverrideJson; private DeploymentElasticsearchWarmAutoscaling() {} + /** + * @return Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + * + */ + public Optional autoscale() { + return Optional.ofNullable(this.autoscale); + } /** * @return Maximum size value for the maximum autoscaling setting. * @@ -83,6 +96,7 @@ public static Builder builder(DeploymentElasticsearchWarmAutoscaling defaults) { } @CustomType.Builder public static final class Builder { + private @Nullable Boolean autoscale; private @Nullable String maxSize; private @Nullable String maxSizeResource; private @Nullable String minSize; @@ -91,6 +105,7 @@ public static final class Builder { public Builder() {} public Builder(DeploymentElasticsearchWarmAutoscaling defaults) { Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; this.maxSize = defaults.maxSize; this.maxSizeResource = defaults.maxSizeResource; this.minSize = defaults.minSize; @@ -98,6 +113,12 @@ public Builder(DeploymentElasticsearchWarmAutoscaling defaults) { this.policyOverrideJson = defaults.policyOverrideJson; } + @CustomType.Setter + public Builder autoscale(@Nullable Boolean autoscale) { + + this.autoscale = autoscale; + return this; + } @CustomType.Setter public Builder maxSize(@Nullable String maxSize) { @@ -130,6 +151,7 @@ public Builder policyOverrideJson(@Nullable String policyOverrideJson) { } public DeploymentElasticsearchWarmAutoscaling build() { final var _resultValue = new DeploymentElasticsearchWarmAutoscaling(); + _resultValue.autoscale = autoscale; _resultValue.maxSize = maxSize; _resultValue.maxSizeResource = maxSizeResource; _resultValue.minSize = minSize; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentEnterpriseSearch.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentEnterpriseSearch.java index 9bccc778..98ee3869 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentEnterpriseSearch.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentEnterpriseSearch.java @@ -23,6 +23,9 @@ public final class DeploymentEnterpriseSearch { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable Boolean nodeTypeAppserver; private @Nullable Boolean nodeTypeConnector; private @Nullable Boolean nodeTypeWorker; @@ -57,6 +60,15 @@ public Optional httpsEndpoint() { public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } public Optional nodeTypeAppserver() { return Optional.ofNullable(this.nodeTypeAppserver); } @@ -103,6 +115,9 @@ public static final class Builder { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable Boolean nodeTypeAppserver; private @Nullable Boolean nodeTypeConnector; private @Nullable Boolean nodeTypeWorker; @@ -120,6 +135,9 @@ public Builder(DeploymentEnterpriseSearch defaults) { this.httpEndpoint = defaults.httpEndpoint; this.httpsEndpoint = defaults.httpsEndpoint; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.nodeTypeAppserver = defaults.nodeTypeAppserver; this.nodeTypeConnector = defaults.nodeTypeConnector; this.nodeTypeWorker = defaults.nodeTypeWorker; @@ -162,6 +180,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder nodeTypeAppserver(@Nullable Boolean nodeTypeAppserver) { this.nodeTypeAppserver = nodeTypeAppserver; @@ -222,6 +258,9 @@ public DeploymentEnterpriseSearch build() { _resultValue.httpEndpoint = httpEndpoint; _resultValue.httpsEndpoint = httpsEndpoint; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.nodeTypeAppserver = nodeTypeAppserver; _resultValue.nodeTypeConnector = nodeTypeConnector; _resultValue.nodeTypeWorker = nodeTypeWorker; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServer.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServer.java index d8e9640d..1a224163 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServer.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServer.java @@ -28,6 +28,9 @@ public final class DeploymentIntegrationsServer { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -66,6 +69,15 @@ public Optional httpsEndpoint() { public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } public Optional refId() { return Optional.ofNullable(this.refId); } @@ -104,6 +116,9 @@ public static final class Builder { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -119,6 +134,9 @@ public Builder(DeploymentIntegrationsServer defaults) { this.httpEndpoint = defaults.httpEndpoint; this.httpsEndpoint = defaults.httpsEndpoint; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.refId = defaults.refId; this.region = defaults.region; this.resourceId = defaults.resourceId; @@ -164,6 +182,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder refId(@Nullable String refId) { this.refId = refId; @@ -207,6 +243,9 @@ public DeploymentIntegrationsServer build() { _resultValue.httpEndpoint = httpEndpoint; _resultValue.httpsEndpoint = httpsEndpoint; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.refId = refId; _resultValue.region = region; _resultValue.resourceId = resourceId; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServerEndpoints.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServerEndpoints.java index cd4cd515..fc46ab55 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServerEndpoints.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentIntegrationsServerEndpoints.java @@ -12,6 +12,8 @@ public final class DeploymentIntegrationsServerEndpoints { private String apm; private String fleet; + private String profiling; + private String symbols; private DeploymentIntegrationsServerEndpoints() {} public String apm() { @@ -20,6 +22,12 @@ public String apm() { public String fleet() { return this.fleet; } + public String profiling() { + return this.profiling; + } + public String symbols() { + return this.symbols; + } public static Builder builder() { return new Builder(); @@ -32,11 +40,15 @@ public static Builder builder(DeploymentIntegrationsServerEndpoints defaults) { public static final class Builder { private String apm; private String fleet; + private String profiling; + private String symbols; public Builder() {} public Builder(DeploymentIntegrationsServerEndpoints defaults) { Objects.requireNonNull(defaults); this.apm = defaults.apm; this.fleet = defaults.fleet; + this.profiling = defaults.profiling; + this.symbols = defaults.symbols; } @CustomType.Setter @@ -55,10 +67,28 @@ public Builder fleet(String fleet) { this.fleet = fleet; return this; } + @CustomType.Setter + public Builder profiling(String profiling) { + if (profiling == null) { + throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpoints", "profiling"); + } + this.profiling = profiling; + return this; + } + @CustomType.Setter + public Builder symbols(String symbols) { + if (symbols == null) { + throw new MissingRequiredPropertyException("DeploymentIntegrationsServerEndpoints", "symbols"); + } + this.symbols = symbols; + return this; + } public DeploymentIntegrationsServerEndpoints build() { final var _resultValue = new DeploymentIntegrationsServerEndpoints(); _resultValue.apm = apm; _resultValue.fleet = fleet; + _resultValue.profiling = profiling; + _resultValue.symbols = symbols; return _resultValue; } } diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentKibana.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentKibana.java index ded15f91..d1a21642 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentKibana.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/DeploymentKibana.java @@ -22,6 +22,9 @@ public final class DeploymentKibana { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -53,6 +56,15 @@ public Optional httpsEndpoint() { public Optional instanceConfigurationId() { return Optional.ofNullable(this.instanceConfigurationId); } + public Optional instanceConfigurationVersion() { + return Optional.ofNullable(this.instanceConfigurationVersion); + } + public Optional latestInstanceConfigurationId() { + return Optional.ofNullable(this.latestInstanceConfigurationId); + } + public Optional latestInstanceConfigurationVersion() { + return Optional.ofNullable(this.latestInstanceConfigurationVersion); + } public Optional refId() { return Optional.ofNullable(this.refId); } @@ -90,6 +102,9 @@ public static final class Builder { private @Nullable String httpEndpoint; private @Nullable String httpsEndpoint; private @Nullable String instanceConfigurationId; + private @Nullable Integer instanceConfigurationVersion; + private @Nullable String latestInstanceConfigurationId; + private @Nullable Integer latestInstanceConfigurationVersion; private @Nullable String refId; private @Nullable String region; private @Nullable String resourceId; @@ -104,6 +119,9 @@ public Builder(DeploymentKibana defaults) { this.httpEndpoint = defaults.httpEndpoint; this.httpsEndpoint = defaults.httpsEndpoint; this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.latestInstanceConfigurationId = defaults.latestInstanceConfigurationId; + this.latestInstanceConfigurationVersion = defaults.latestInstanceConfigurationVersion; this.refId = defaults.refId; this.region = defaults.region; this.resourceId = defaults.resourceId; @@ -143,6 +161,24 @@ public Builder instanceConfigurationId(@Nullable String instanceConfigurationId) return this; } @CustomType.Setter + public Builder instanceConfigurationVersion(@Nullable Integer instanceConfigurationVersion) { + + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationId(@Nullable String latestInstanceConfigurationId) { + + this.latestInstanceConfigurationId = latestInstanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder latestInstanceConfigurationVersion(@Nullable Integer latestInstanceConfigurationVersion) { + + this.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; + return this; + } + @CustomType.Setter public Builder refId(@Nullable String refId) { this.refId = refId; @@ -185,6 +221,9 @@ public DeploymentKibana build() { _resultValue.httpEndpoint = httpEndpoint; _resultValue.httpsEndpoint = httpsEndpoint; _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.latestInstanceConfigurationId = latestInstanceConfigurationId; + _resultValue.latestInstanceConfigurationVersion = latestInstanceConfigurationVersion; _resultValue.refId = refId; _resultValue.region = region; _resultValue.resourceId = resourceId; diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesResult.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesResult.java new file mode 100644 index 00000000..6883575f --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesResult.java @@ -0,0 +1,152 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplate; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.List; +import java.util.Objects; +import java.util.Optional; +import javax.annotation.Nullable; + +@CustomType +public final class GetDeploymentTemplatesResult { + /** + * @return Filters for a deployment template with this id. + * + */ + private @Nullable String id; + /** + * @return Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + private String region; + /** + * @return Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + private @Nullable Boolean showDeprecated; + /** + * @return Filters for deployment templates compatible with this stack version. + * + */ + private @Nullable String stackVersion; + /** + * @return List of available deployment templates. + * + */ + private List templates; + + private GetDeploymentTemplatesResult() {} + /** + * @return Filters for a deployment template with this id. + * + */ + public Optional id() { + return Optional.ofNullable(this.id); + } + /** + * @return Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + * + */ + public String region() { + return this.region; + } + /** + * @return Enable to also show deprecated deployment templates. (Set to false by default.) + * + */ + public Optional showDeprecated() { + return Optional.ofNullable(this.showDeprecated); + } + /** + * @return Filters for deployment templates compatible with this stack version. + * + */ + public Optional stackVersion() { + return Optional.ofNullable(this.stackVersion); + } + /** + * @return List of available deployment templates. + * + */ + public List templates() { + return this.templates; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesResult defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private @Nullable String id; + private String region; + private @Nullable Boolean showDeprecated; + private @Nullable String stackVersion; + private List templates; + public Builder() {} + public Builder(GetDeploymentTemplatesResult defaults) { + Objects.requireNonNull(defaults); + this.id = defaults.id; + this.region = defaults.region; + this.showDeprecated = defaults.showDeprecated; + this.stackVersion = defaults.stackVersion; + this.templates = defaults.templates; + } + + @CustomType.Setter + public Builder id(@Nullable String id) { + + this.id = id; + return this; + } + @CustomType.Setter + public Builder region(String region) { + if (region == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesResult", "region"); + } + this.region = region; + return this; + } + @CustomType.Setter + public Builder showDeprecated(@Nullable Boolean showDeprecated) { + + this.showDeprecated = showDeprecated; + return this; + } + @CustomType.Setter + public Builder stackVersion(@Nullable String stackVersion) { + + this.stackVersion = stackVersion; + return this; + } + @CustomType.Setter + public Builder templates(List templates) { + if (templates == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesResult", "templates"); + } + this.templates = templates; + return this; + } + public Builder templates(GetDeploymentTemplatesTemplate... templates) { + return templates(List.of(templates)); + } + public GetDeploymentTemplatesResult build() { + final var _resultValue = new GetDeploymentTemplatesResult(); + _resultValue.id = id; + _resultValue.region = region; + _resultValue.showDeprecated = showDeprecated; + _resultValue.stackVersion = stackVersion; + _resultValue.templates = templates; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplate.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplate.java new file mode 100644 index 00000000..61c6a13b --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplate.java @@ -0,0 +1,271 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateApm; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearch; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateEnterpriseSearch; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateIntegrationsServer; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateKibana; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplate { + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + private GetDeploymentTemplatesTemplateApm apm; + /** + * @return Outdated templates are marked as deprecated, but can still be used. + * + */ + private Boolean deprecated; + /** + * @return The description of the deployment template. + * + */ + private String description; + /** + * @return Defines the default configuration for Elasticsearch. + * + */ + private GetDeploymentTemplatesTemplateElasticsearch elasticsearch; + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + private GetDeploymentTemplatesTemplateEnterpriseSearch enterpriseSearch; + /** + * @return The id of the deployment template. + * + */ + private String id; + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + private GetDeploymentTemplatesTemplateIntegrationsServer integrationsServer; + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + private GetDeploymentTemplatesTemplateKibana kibana; + /** + * @return The minimum stack version that can used with this deployment template. + * + */ + private String minStackVersion; + /** + * @return The name of the deployment template. + * + */ + private String name; + + private GetDeploymentTemplatesTemplate() {} + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + public GetDeploymentTemplatesTemplateApm apm() { + return this.apm; + } + /** + * @return Outdated templates are marked as deprecated, but can still be used. + * + */ + public Boolean deprecated() { + return this.deprecated; + } + /** + * @return The description of the deployment template. + * + */ + public String description() { + return this.description; + } + /** + * @return Defines the default configuration for Elasticsearch. + * + */ + public GetDeploymentTemplatesTemplateElasticsearch elasticsearch() { + return this.elasticsearch; + } + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + public GetDeploymentTemplatesTemplateEnterpriseSearch enterpriseSearch() { + return this.enterpriseSearch; + } + /** + * @return The id of the deployment template. + * + */ + public String id() { + return this.id; + } + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + public GetDeploymentTemplatesTemplateIntegrationsServer integrationsServer() { + return this.integrationsServer; + } + /** + * @return Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + * + */ + public GetDeploymentTemplatesTemplateKibana kibana() { + return this.kibana; + } + /** + * @return The minimum stack version that can used with this deployment template. + * + */ + public String minStackVersion() { + return this.minStackVersion; + } + /** + * @return The name of the deployment template. + * + */ + public String name() { + return this.name; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplate defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateApm apm; + private Boolean deprecated; + private String description; + private GetDeploymentTemplatesTemplateElasticsearch elasticsearch; + private GetDeploymentTemplatesTemplateEnterpriseSearch enterpriseSearch; + private String id; + private GetDeploymentTemplatesTemplateIntegrationsServer integrationsServer; + private GetDeploymentTemplatesTemplateKibana kibana; + private String minStackVersion; + private String name; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplate defaults) { + Objects.requireNonNull(defaults); + this.apm = defaults.apm; + this.deprecated = defaults.deprecated; + this.description = defaults.description; + this.elasticsearch = defaults.elasticsearch; + this.enterpriseSearch = defaults.enterpriseSearch; + this.id = defaults.id; + this.integrationsServer = defaults.integrationsServer; + this.kibana = defaults.kibana; + this.minStackVersion = defaults.minStackVersion; + this.name = defaults.name; + } + + @CustomType.Setter + public Builder apm(GetDeploymentTemplatesTemplateApm apm) { + if (apm == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "apm"); + } + this.apm = apm; + return this; + } + @CustomType.Setter + public Builder deprecated(Boolean deprecated) { + if (deprecated == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "deprecated"); + } + this.deprecated = deprecated; + return this; + } + @CustomType.Setter + public Builder description(String description) { + if (description == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "description"); + } + this.description = description; + return this; + } + @CustomType.Setter + public Builder elasticsearch(GetDeploymentTemplatesTemplateElasticsearch elasticsearch) { + if (elasticsearch == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "elasticsearch"); + } + this.elasticsearch = elasticsearch; + return this; + } + @CustomType.Setter + public Builder enterpriseSearch(GetDeploymentTemplatesTemplateEnterpriseSearch enterpriseSearch) { + if (enterpriseSearch == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "enterpriseSearch"); + } + this.enterpriseSearch = enterpriseSearch; + return this; + } + @CustomType.Setter + public Builder id(String id) { + if (id == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "id"); + } + this.id = id; + return this; + } + @CustomType.Setter + public Builder integrationsServer(GetDeploymentTemplatesTemplateIntegrationsServer integrationsServer) { + if (integrationsServer == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "integrationsServer"); + } + this.integrationsServer = integrationsServer; + return this; + } + @CustomType.Setter + public Builder kibana(GetDeploymentTemplatesTemplateKibana kibana) { + if (kibana == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "kibana"); + } + this.kibana = kibana; + return this; + } + @CustomType.Setter + public Builder minStackVersion(String minStackVersion) { + if (minStackVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "minStackVersion"); + } + this.minStackVersion = minStackVersion; + return this; + } + @CustomType.Setter + public Builder name(String name) { + if (name == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplate", "name"); + } + this.name = name; + return this; + } + public GetDeploymentTemplatesTemplate build() { + final var _resultValue = new GetDeploymentTemplatesTemplate(); + _resultValue.apm = apm; + _resultValue.deprecated = deprecated; + _resultValue.description = description; + _resultValue.elasticsearch = elasticsearch; + _resultValue.enterpriseSearch = enterpriseSearch; + _resultValue.id = id; + _resultValue.integrationsServer = integrationsServer; + _resultValue.kibana = kibana; + _resultValue.minStackVersion = minStackVersion; + _resultValue.name = name; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateApm.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateApm.java new file mode 100644 index 00000000..d5f6f0bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateApm.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateApm { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateApm() {} + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateApm defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateApm defaults) { + Objects.requireNonNull(defaults); + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateApm", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateApm", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateApm", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateApm", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateApm", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateApm build() { + final var _resultValue = new GetDeploymentTemplatesTemplateApm(); + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearch.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearch.java new file mode 100644 index 00000000..85170ffe --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearch.java @@ -0,0 +1,218 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchCold; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinating; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchFrozen; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchHot; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchMaster; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchMl; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchWarm; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearch { + private Boolean autoscale; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchCold cold; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchCoordinating coordinating; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchFrozen frozen; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchHot hot; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchMaster master; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchMl ml; + /** + * @return Defines the default configuration for each topology. + * + */ + private GetDeploymentTemplatesTemplateElasticsearchWarm warm; + + private GetDeploymentTemplatesTemplateElasticsearch() {} + public Boolean autoscale() { + return this.autoscale; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchCold cold() { + return this.cold; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchCoordinating coordinating() { + return this.coordinating; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchFrozen frozen() { + return this.frozen; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchHot hot() { + return this.hot; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchMaster master() { + return this.master; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchMl ml() { + return this.ml; + } + /** + * @return Defines the default configuration for each topology. + * + */ + public GetDeploymentTemplatesTemplateElasticsearchWarm warm() { + return this.warm; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearch defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private GetDeploymentTemplatesTemplateElasticsearchCold cold; + private GetDeploymentTemplatesTemplateElasticsearchCoordinating coordinating; + private GetDeploymentTemplatesTemplateElasticsearchFrozen frozen; + private GetDeploymentTemplatesTemplateElasticsearchHot hot; + private GetDeploymentTemplatesTemplateElasticsearchMaster master; + private GetDeploymentTemplatesTemplateElasticsearchMl ml; + private GetDeploymentTemplatesTemplateElasticsearchWarm warm; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearch defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.cold = defaults.cold; + this.coordinating = defaults.coordinating; + this.frozen = defaults.frozen; + this.hot = defaults.hot; + this.master = defaults.master; + this.ml = defaults.ml; + this.warm = defaults.warm; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder cold(GetDeploymentTemplatesTemplateElasticsearchCold cold) { + if (cold == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "cold"); + } + this.cold = cold; + return this; + } + @CustomType.Setter + public Builder coordinating(GetDeploymentTemplatesTemplateElasticsearchCoordinating coordinating) { + if (coordinating == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "coordinating"); + } + this.coordinating = coordinating; + return this; + } + @CustomType.Setter + public Builder frozen(GetDeploymentTemplatesTemplateElasticsearchFrozen frozen) { + if (frozen == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "frozen"); + } + this.frozen = frozen; + return this; + } + @CustomType.Setter + public Builder hot(GetDeploymentTemplatesTemplateElasticsearchHot hot) { + if (hot == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "hot"); + } + this.hot = hot; + return this; + } + @CustomType.Setter + public Builder master(GetDeploymentTemplatesTemplateElasticsearchMaster master) { + if (master == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "master"); + } + this.master = master; + return this; + } + @CustomType.Setter + public Builder ml(GetDeploymentTemplatesTemplateElasticsearchMl ml) { + if (ml == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "ml"); + } + this.ml = ml; + return this; + } + @CustomType.Setter + public Builder warm(GetDeploymentTemplatesTemplateElasticsearchWarm warm) { + if (warm == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearch", "warm"); + } + this.warm = warm; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearch build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearch(); + _resultValue.autoscale = autoscale; + _resultValue.cold = cold; + _resultValue.coordinating = coordinating; + _resultValue.frozen = frozen; + _resultValue.hot = hot; + _resultValue.master = master; + _resultValue.ml = ml; + _resultValue.warm = warm; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCold.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCold.java new file mode 100644 index 00000000..c9c958fd --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCold.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchCold { + private GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchCold() {} + public GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchCold defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchCold defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCold", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchCold build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchCold(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling.java new file mode 100644 index 00000000..2df7d2d1 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinating.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinating.java new file mode 100644 index 00000000..58732549 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinating.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchCoordinating { + private GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchCoordinating() {} + public GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchCoordinating defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchCoordinating defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinating", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchCoordinating build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchCoordinating(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling.java new file mode 100644 index 00000000..3e017e90 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozen.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozen.java new file mode 100644 index 00000000..0a6f3552 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozen.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchFrozen { + private GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchFrozen() {} + public GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchFrozen defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchFrozen defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozen", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchFrozen build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchFrozen(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling.java new file mode 100644 index 00000000..f2873641 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHot.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHot.java new file mode 100644 index 00000000..512a22bb --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHot.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchHot { + private GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchHot() {} + public GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchHot defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchHot defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHot", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchHot build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchHot(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling.java new file mode 100644 index 00000000..98720d27 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMaster.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMaster.java new file mode 100644 index 00000000..49185176 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMaster.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchMaster { + private GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchMaster() {} + public GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchMaster defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchMaster defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMaster", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchMaster build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchMaster(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling.java new file mode 100644 index 00000000..0b80f327 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMl.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMl.java new file mode 100644 index 00000000..21b383ad --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMl.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchMl { + private GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchMl() {} + public GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchMl defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchMl defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMl", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchMl build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchMl(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling.java new file mode 100644 index 00000000..9e5774ca --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarm.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarm.java new file mode 100644 index 00000000..b241a19c --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarm.java @@ -0,0 +1,131 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.ec.outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchWarm { + private GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchWarm() {} + public GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling autoscaling() { + return this.autoscaling; + } + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchWarm defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling autoscaling; + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchWarm defaults) { + Objects.requireNonNull(defaults); + this.autoscaling = defaults.autoscaling; + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder autoscaling(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling autoscaling) { + if (autoscaling == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "autoscaling"); + } + this.autoscaling = autoscaling; + return this; + } + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarm", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchWarm build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchWarm(); + _resultValue.autoscaling = autoscaling; + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling.java new file mode 100644 index 00000000..b748c425 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling.java @@ -0,0 +1,111 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Boolean; +import java.lang.String; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + + private GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling() {} + public Boolean autoscale() { + return this.autoscale; + } + public String maxSize() { + return this.maxSize; + } + public String maxSizeResource() { + return this.maxSizeResource; + } + public String minSize() { + return this.minSize; + } + public String minSizeResource() { + return this.minSizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private Boolean autoscale; + private String maxSize; + private String maxSizeResource; + private String minSize; + private String minSizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling defaults) { + Objects.requireNonNull(defaults); + this.autoscale = defaults.autoscale; + this.maxSize = defaults.maxSize; + this.maxSizeResource = defaults.maxSizeResource; + this.minSize = defaults.minSize; + this.minSizeResource = defaults.minSizeResource; + } + + @CustomType.Setter + public Builder autoscale(Boolean autoscale) { + if (autoscale == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling", "autoscale"); + } + this.autoscale = autoscale; + return this; + } + @CustomType.Setter + public Builder maxSize(String maxSize) { + if (maxSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling", "maxSize"); + } + this.maxSize = maxSize; + return this; + } + @CustomType.Setter + public Builder maxSizeResource(String maxSizeResource) { + if (maxSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling", "maxSizeResource"); + } + this.maxSizeResource = maxSizeResource; + return this; + } + @CustomType.Setter + public Builder minSize(String minSize) { + if (minSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling", "minSize"); + } + this.minSize = minSize; + return this; + } + @CustomType.Setter + public Builder minSizeResource(String minSizeResource) { + if (minSizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling", "minSizeResource"); + } + this.minSizeResource = minSizeResource; + return this; + } + public GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling build() { + final var _resultValue = new GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling(); + _resultValue.autoscale = autoscale; + _resultValue.maxSize = maxSize; + _resultValue.maxSizeResource = maxSizeResource; + _resultValue.minSize = minSize; + _resultValue.minSizeResource = minSizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateEnterpriseSearch.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateEnterpriseSearch.java new file mode 100644 index 00000000..71108b18 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateEnterpriseSearch.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateEnterpriseSearch { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateEnterpriseSearch() {} + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateEnterpriseSearch defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateEnterpriseSearch defaults) { + Objects.requireNonNull(defaults); + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateEnterpriseSearch", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateEnterpriseSearch", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateEnterpriseSearch", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateEnterpriseSearch", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateEnterpriseSearch", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateEnterpriseSearch build() { + final var _resultValue = new GetDeploymentTemplatesTemplateEnterpriseSearch(); + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateIntegrationsServer.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateIntegrationsServer.java new file mode 100644 index 00000000..66455c34 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateIntegrationsServer.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateIntegrationsServer { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateIntegrationsServer() {} + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateIntegrationsServer defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateIntegrationsServer defaults) { + Objects.requireNonNull(defaults); + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateIntegrationsServer", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateIntegrationsServer", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateIntegrationsServer", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateIntegrationsServer", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateIntegrationsServer", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateIntegrationsServer build() { + final var _resultValue = new GetDeploymentTemplatesTemplateIntegrationsServer(); + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateKibana.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateKibana.java new file mode 100644 index 00000000..0ad86079 --- /dev/null +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentTemplatesTemplateKibana.java @@ -0,0 +1,115 @@ +// *** WARNING: this file was generated by pulumi-java-gen. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +package com.pulumi.ec.outputs; + +import com.pulumi.core.annotations.CustomType; +import com.pulumi.exceptions.MissingRequiredPropertyException; +import java.lang.Double; +import java.lang.String; +import java.util.List; +import java.util.Objects; + +@CustomType +public final class GetDeploymentTemplatesTemplateKibana { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + + private GetDeploymentTemplatesTemplateKibana() {} + public List availableSizes() { + return this.availableSizes; + } + public String defaultSize() { + return this.defaultSize; + } + public String instanceConfigurationId() { + return this.instanceConfigurationId; + } + public Double instanceConfigurationVersion() { + return this.instanceConfigurationVersion; + } + public String sizeResource() { + return this.sizeResource; + } + + public static Builder builder() { + return new Builder(); + } + + public static Builder builder(GetDeploymentTemplatesTemplateKibana defaults) { + return new Builder(defaults); + } + @CustomType.Builder + public static final class Builder { + private List availableSizes; + private String defaultSize; + private String instanceConfigurationId; + private Double instanceConfigurationVersion; + private String sizeResource; + public Builder() {} + public Builder(GetDeploymentTemplatesTemplateKibana defaults) { + Objects.requireNonNull(defaults); + this.availableSizes = defaults.availableSizes; + this.defaultSize = defaults.defaultSize; + this.instanceConfigurationId = defaults.instanceConfigurationId; + this.instanceConfigurationVersion = defaults.instanceConfigurationVersion; + this.sizeResource = defaults.sizeResource; + } + + @CustomType.Setter + public Builder availableSizes(List availableSizes) { + if (availableSizes == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateKibana", "availableSizes"); + } + this.availableSizes = availableSizes; + return this; + } + public Builder availableSizes(String... availableSizes) { + return availableSizes(List.of(availableSizes)); + } + @CustomType.Setter + public Builder defaultSize(String defaultSize) { + if (defaultSize == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateKibana", "defaultSize"); + } + this.defaultSize = defaultSize; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationId(String instanceConfigurationId) { + if (instanceConfigurationId == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateKibana", "instanceConfigurationId"); + } + this.instanceConfigurationId = instanceConfigurationId; + return this; + } + @CustomType.Setter + public Builder instanceConfigurationVersion(Double instanceConfigurationVersion) { + if (instanceConfigurationVersion == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateKibana", "instanceConfigurationVersion"); + } + this.instanceConfigurationVersion = instanceConfigurationVersion; + return this; + } + @CustomType.Setter + public Builder sizeResource(String sizeResource) { + if (sizeResource == null) { + throw new MissingRequiredPropertyException("GetDeploymentTemplatesTemplateKibana", "sizeResource"); + } + this.sizeResource = sizeResource; + return this; + } + public GetDeploymentTemplatesTemplateKibana build() { + final var _resultValue = new GetDeploymentTemplatesTemplateKibana(); + _resultValue.availableSizes = availableSizes; + _resultValue.defaultSize = defaultSize; + _resultValue.instanceConfigurationId = instanceConfigurationId; + _resultValue.instanceConfigurationVersion = instanceConfigurationVersion; + _resultValue.sizeResource = sizeResource; + return _resultValue; + } + } +} diff --git a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentsResult.java b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentsResult.java index 4ba09097..e659e765 100644 --- a/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentsResult.java +++ b/sdk/java/src/main/java/com/pulumi/ec/outputs/GetDeploymentsResult.java @@ -66,6 +66,11 @@ public final class GetDeploymentsResult { * */ private @Nullable List kibanas; + /** + * @return Filter the result by the full deployment name. + * + */ + private @Nullable String name; /** * @return Prefix to filter the returned deployment list by. * @@ -151,6 +156,13 @@ public List integrationsServers() { public List kibanas() { return this.kibanas == null ? List.of() : this.kibanas; } + /** + * @return Filter the result by the full deployment name. + * + */ + public Optional name() { + return Optional.ofNullable(this.name); + } /** * @return Prefix to filter the returned deployment list by. * @@ -198,6 +210,7 @@ public static final class Builder { private String id; private @Nullable List integrationsServers; private @Nullable List kibanas; + private @Nullable String name; private @Nullable String namePrefix; private Integer returnCount; private @Nullable Integer size; @@ -214,6 +227,7 @@ public Builder(GetDeploymentsResult defaults) { this.id = defaults.id; this.integrationsServers = defaults.integrationsServers; this.kibanas = defaults.kibanas; + this.name = defaults.name; this.namePrefix = defaults.namePrefix; this.returnCount = defaults.returnCount; this.size = defaults.size; @@ -297,6 +311,12 @@ public Builder kibanas(GetDeploymentsKibana... kibanas) { return kibanas(List.of(kibanas)); } @CustomType.Setter + public Builder name(@Nullable String name) { + + this.name = name; + return this; + } + @CustomType.Setter public Builder namePrefix(@Nullable String namePrefix) { this.namePrefix = namePrefix; @@ -333,6 +353,7 @@ public GetDeploymentsResult build() { _resultValue.id = id; _resultValue.integrationsServers = integrationsServers; _resultValue.kibanas = kibanas; + _resultValue.name = name; _resultValue.namePrefix = namePrefix; _resultValue.returnCount = returnCount; _resultValue.size = size; diff --git a/sdk/nodejs/deployment.ts b/sdk/nodejs/deployment.ts index a828ea9e..cb7dc137 100644 --- a/sdk/nodejs/deployment.ts +++ b/sdk/nodejs/deployment.ts @@ -25,6 +25,8 @@ import * as utilities from "./utilities"; * * ### With Cross Cluster Search settings * + * ### With Keystore + * * ## Import * * ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -89,7 +91,9 @@ export class Deployment extends pulumi.CustomResource { /** * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the elasticsearch_username or elasticsearch_password attributes. + * import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + * deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. */ public /*out*/ readonly elasticsearchPassword!: pulumi.Output; /** @@ -109,6 +113,13 @@ export class Deployment extends pulumi.CustomResource { * block, since not doing so might cause issues when modifying or upgrading the deployment. */ public readonly kibana!: pulumi.Output; + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * instance_configuration_id or instance_configuration_version fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + */ + public readonly migrateToLatestHardware!: pulumi.Output; /** * Extension name. */ @@ -168,6 +179,7 @@ export class Deployment extends pulumi.CustomResource { resourceInputs["enterpriseSearch"] = state ? state.enterpriseSearch : undefined; resourceInputs["integrationsServer"] = state ? state.integrationsServer : undefined; resourceInputs["kibana"] = state ? state.kibana : undefined; + resourceInputs["migrateToLatestHardware"] = state ? state.migrateToLatestHardware : undefined; resourceInputs["name"] = state ? state.name : undefined; resourceInputs["observability"] = state ? state.observability : undefined; resourceInputs["region"] = state ? state.region : undefined; @@ -197,6 +209,7 @@ export class Deployment extends pulumi.CustomResource { resourceInputs["enterpriseSearch"] = args ? args.enterpriseSearch : undefined; resourceInputs["integrationsServer"] = args ? args.integrationsServer : undefined; resourceInputs["kibana"] = args ? args.kibana : undefined; + resourceInputs["migrateToLatestHardware"] = args ? args.migrateToLatestHardware : undefined; resourceInputs["name"] = args ? args.name : undefined; resourceInputs["observability"] = args ? args.observability : undefined; resourceInputs["region"] = args ? args.region : undefined; @@ -240,7 +253,9 @@ export interface DeploymentState { /** * Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The * elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - * import the elasticsearch_username or elasticsearch_password attributes. + * import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + * deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + * Please follow the official Terraform recommendations regarding senstaive data in state. */ elasticsearchPassword?: pulumi.Input; /** @@ -260,6 +275,13 @@ export interface DeploymentState { * block, since not doing so might cause issues when modifying or upgrading the deployment. */ kibana?: pulumi.Input; + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * instance_configuration_id or instance_configuration_version fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + */ + migrateToLatestHardware?: pulumi.Input; /** * Extension name. */ @@ -330,6 +352,13 @@ export interface DeploymentArgs { * block, since not doing so might cause issues when modifying or upgrading the deployment. */ kibana?: pulumi.Input; + /** + * When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + * instance_configuration_id or instance_configuration_version fields are set for a specific + * topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + * with node types. To use this field, the deployment needs to be migrated to node roles first. + */ + migrateToLatestHardware?: pulumi.Input; /** * Extension name. */ diff --git a/sdk/nodejs/getDeploymentTemplates.ts b/sdk/nodejs/getDeploymentTemplates.ts new file mode 100644 index 00000000..68a9d55c --- /dev/null +++ b/sdk/nodejs/getDeploymentTemplates.ts @@ -0,0 +1,145 @@ +// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +// *** Do not edit by hand unless you're certain you know what you are doing! *** + +import * as pulumi from "@pulumi/pulumi"; +import * as inputs from "./types/input"; +import * as outputs from "./types/output"; +import * as utilities from "./utilities"; + +/** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as ec from "@pulumi/ec"; + * + * const example = ec.getDeploymentTemplates({ + * region: "us-east-1", + * }); + * const myDeployment = new ec.Deployment("myDeployment", { + * version: "8.12.2", + * region: data.ec_deployment_templates.all_templates.region, + * deploymentTemplateId: data.ec_deployment_templates.all_templates.templates[0].id, + * elasticsearch: { + * hot: { + * autoscaling: {}, + * }, + * }, + * kibana: {}, + * }); + * ``` + * + */ +export function getDeploymentTemplates(args: GetDeploymentTemplatesArgs, opts?: pulumi.InvokeOptions): Promise { + + opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); + return pulumi.runtime.invoke("ec:index/getDeploymentTemplates:getDeploymentTemplates", { + "id": args.id, + "region": args.region, + "showDeprecated": args.showDeprecated, + "stackVersion": args.stackVersion, + }, opts); +} + +/** + * A collection of arguments for invoking getDeploymentTemplates. + */ +export interface GetDeploymentTemplatesArgs { + /** + * The id of the deployment template. + */ + id?: string; + /** + * Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + */ + region: string; + /** + * Enable to also show deprecated deployment templates. (Set to false by default.) + */ + showDeprecated?: boolean; + /** + * Filters for deployment templates compatible with this stack version. + */ + stackVersion?: string; +} + +/** + * A collection of values returned by getDeploymentTemplates. + */ +export interface GetDeploymentTemplatesResult { + /** + * Filters for a deployment template with this id. + */ + readonly id?: string; + /** + * Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + */ + readonly region: string; + /** + * Enable to also show deprecated deployment templates. (Set to false by default.) + */ + readonly showDeprecated?: boolean; + /** + * Filters for deployment templates compatible with this stack version. + */ + readonly stackVersion?: string; + /** + * List of available deployment templates. + */ + readonly templates: outputs.GetDeploymentTemplatesTemplate[]; +} +/** + * Use this data source to retrieve a list of available deployment templates. + * + * ## Example Usage + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as ec from "@pulumi/ec"; + * + * const example = ec.getDeploymentTemplates({ + * region: "us-east-1", + * }); + * const myDeployment = new ec.Deployment("myDeployment", { + * version: "8.12.2", + * region: data.ec_deployment_templates.all_templates.region, + * deploymentTemplateId: data.ec_deployment_templates.all_templates.templates[0].id, + * elasticsearch: { + * hot: { + * autoscaling: {}, + * }, + * }, + * kibana: {}, + * }); + * ``` + * + */ +export function getDeploymentTemplatesOutput(args: GetDeploymentTemplatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output { + return pulumi.output(args).apply((a: any) => getDeploymentTemplates(a, opts)) +} + +/** + * A collection of arguments for invoking getDeploymentTemplates. + */ +export interface GetDeploymentTemplatesOutputArgs { + /** + * The id of the deployment template. + */ + id?: pulumi.Input; + /** + * Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + */ + region: pulumi.Input; + /** + * Enable to also show deprecated deployment templates. (Set to false by default.) + */ + showDeprecated?: pulumi.Input; + /** + * Filters for deployment templates compatible with this stack version. + */ + stackVersion?: pulumi.Input; +} diff --git a/sdk/nodejs/getDeployments.ts b/sdk/nodejs/getDeployments.ts index c0da94c7..f144c053 100644 --- a/sdk/nodejs/getDeployments.ts +++ b/sdk/nodejs/getDeployments.ts @@ -51,6 +51,7 @@ export function getDeployments(args?: GetDeploymentsArgs, opts?: pulumi.InvokeOp "healthy": args.healthy, "integrationsServers": args.integrationsServers, "kibanas": args.kibanas, + "name": args.name, "namePrefix": args.namePrefix, "size": args.size, "tags": args.tags, @@ -89,6 +90,10 @@ export interface GetDeploymentsArgs { * Filter by Kibana resource kind status or configuration. */ kibanas?: inputs.GetDeploymentsKibana[]; + /** + * The name of the deployment. + */ + name?: string; /** * Prefix to filter the returned deployment list by. */ @@ -143,6 +148,10 @@ export interface GetDeploymentsResult { * Filter by Kibana resource kind status or configuration. */ readonly kibanas?: outputs.GetDeploymentsKibana[]; + /** + * Filter the result by the full deployment name. + */ + readonly name?: string; /** * Prefix to filter the returned deployment list by. */ @@ -229,6 +238,10 @@ export interface GetDeploymentsOutputArgs { * Filter by Kibana resource kind status or configuration. */ kibanas?: pulumi.Input[]>; + /** + * The name of the deployment. + */ + name?: pulumi.Input; /** * Prefix to filter the returned deployment list by. */ diff --git a/sdk/nodejs/index.ts b/sdk/nodejs/index.ts index e4143363..2eafae93 100644 --- a/sdk/nodejs/index.ts +++ b/sdk/nodejs/index.ts @@ -45,6 +45,11 @@ export const getDeployment: typeof import("./getDeployment").getDeployment = nul export const getDeploymentOutput: typeof import("./getDeployment").getDeploymentOutput = null as any; utilities.lazyLoad(exports, ["getDeployment","getDeploymentOutput"], () => require("./getDeployment")); +export { GetDeploymentTemplatesArgs, GetDeploymentTemplatesResult, GetDeploymentTemplatesOutputArgs } from "./getDeploymentTemplates"; +export const getDeploymentTemplates: typeof import("./getDeploymentTemplates").getDeploymentTemplates = null as any; +export const getDeploymentTemplatesOutput: typeof import("./getDeploymentTemplates").getDeploymentTemplatesOutput = null as any; +utilities.lazyLoad(exports, ["getDeploymentTemplates","getDeploymentTemplatesOutput"], () => require("./getDeploymentTemplates")); + export { GetDeploymentsArgs, GetDeploymentsResult, GetDeploymentsOutputArgs } from "./getDeployments"; export const getDeployments: typeof import("./getDeployments").getDeployments = null as any; export const getDeploymentsOutput: typeof import("./getDeployments").getDeploymentsOutput = null as any; diff --git a/sdk/nodejs/snapshotRepository.ts b/sdk/nodejs/snapshotRepository.ts index c217f0f1..ef1e4825 100644 --- a/sdk/nodejs/snapshotRepository.ts +++ b/sdk/nodejs/snapshotRepository.ts @@ -11,6 +11,44 @@ import * as utilities from "./utilities"; * * > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository. * + * ## Example Usage + * + * ### Azure + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as ec from "@pulumi/ec"; + * + * const _this = new ec.SnapshotRepository("this", {generic: { + * type: "azure", + * settings: JSON.stringify({ + * container: "my_container", + * client: "my_alternate_client", + * compress: false, + * }), + * }}); + * ``` + * + * + * ### GCS + * + * + * ```typescript + * import * as pulumi from "@pulumi/pulumi"; + * import * as ec from "@pulumi/ec"; + * + * const _this = new ec.SnapshotRepository("this", {generic: { + * type: "gcs", + * settings: JSON.stringify({ + * bucket: "my_bucket", + * client: "my_alternate_client", + * compress: false, + * }), + * }}); + * ``` + * + * * ## Import * * You can import snapshot repositories using the `name`, for example: diff --git a/sdk/nodejs/tsconfig.json b/sdk/nodejs/tsconfig.json index 619ab20d..22fc2521 100644 --- a/sdk/nodejs/tsconfig.json +++ b/sdk/nodejs/tsconfig.json @@ -23,6 +23,7 @@ "getAwsPrivatelinkEndpoint.ts", "getAzurePrivatelinkEndpoint.ts", "getDeployment.ts", + "getDeploymentTemplates.ts", "getDeployments.ts", "getGcpPrivateServiceConnectEndpoint.ts", "getStack.ts", diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 13b8da1d..b99d27fd 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -14,6 +14,9 @@ export interface DeploymentApm { httpEndpoint?: pulumi.Input; httpsEndpoint?: pulumi.Input; instanceConfigurationId?: pulumi.Input; + instanceConfigurationVersion?: pulumi.Input; + latestInstanceConfigurationId?: pulumi.Input; + latestInstanceConfigurationVersion?: pulumi.Input; refId?: pulumi.Input; region?: pulumi.Input; resourceId?: pulumi.Input; @@ -150,9 +153,21 @@ export interface DeploymentElasticsearchCold { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -188,6 +203,10 @@ export interface DeploymentElasticsearchCold { } export interface DeploymentElasticsearchColdAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -243,9 +262,21 @@ export interface DeploymentElasticsearchCoordinating { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -281,6 +312,10 @@ export interface DeploymentElasticsearchCoordinating { } export interface DeploymentElasticsearchCoordinatingAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -328,9 +363,21 @@ export interface DeploymentElasticsearchFrozen { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -366,6 +413,10 @@ export interface DeploymentElasticsearchFrozen { } export interface DeploymentElasticsearchFrozenAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -394,9 +445,21 @@ export interface DeploymentElasticsearchHot { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -432,6 +495,10 @@ export interface DeploymentElasticsearchHot { } export interface DeploymentElasticsearchHotAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -471,9 +538,21 @@ export interface DeploymentElasticsearchMaster { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -509,6 +588,10 @@ export interface DeploymentElasticsearchMaster { } export interface DeploymentElasticsearchMasterAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -537,9 +620,21 @@ export interface DeploymentElasticsearchMl { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -575,6 +670,10 @@ export interface DeploymentElasticsearchMl { } export interface DeploymentElasticsearchMlAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -688,9 +787,21 @@ export interface DeploymentElasticsearchWarm { */ autoscaling: pulumi.Input; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId?: pulumi.Input; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion?: pulumi.Input; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId?: pulumi.Input; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion?: pulumi.Input; /** * The computed list of node roles for the current topology element */ @@ -726,6 +837,10 @@ export interface DeploymentElasticsearchWarm { } export interface DeploymentElasticsearchWarmAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale?: pulumi.Input; /** * Maximum size value for the maximum autoscaling setting. */ @@ -757,6 +872,9 @@ export interface DeploymentEnterpriseSearch { httpEndpoint?: pulumi.Input; httpsEndpoint?: pulumi.Input; instanceConfigurationId?: pulumi.Input; + instanceConfigurationVersion?: pulumi.Input; + latestInstanceConfigurationId?: pulumi.Input; + latestInstanceConfigurationVersion?: pulumi.Input; nodeTypeAppserver?: pulumi.Input; nodeTypeConnector?: pulumi.Input; nodeTypeWorker?: pulumi.Input; @@ -807,6 +925,9 @@ export interface DeploymentIntegrationsServer { httpEndpoint?: pulumi.Input; httpsEndpoint?: pulumi.Input; instanceConfigurationId?: pulumi.Input; + instanceConfigurationVersion?: pulumi.Input; + latestInstanceConfigurationId?: pulumi.Input; + latestInstanceConfigurationVersion?: pulumi.Input; refId?: pulumi.Input; region?: pulumi.Input; resourceId?: pulumi.Input; @@ -848,6 +969,8 @@ export interface DeploymentIntegrationsServerConfig { export interface DeploymentIntegrationsServerEndpoints { apm: pulumi.Input; fleet: pulumi.Input; + profiling: pulumi.Input; + symbols: pulumi.Input; } export interface DeploymentKibana { @@ -859,6 +982,9 @@ export interface DeploymentKibana { httpEndpoint?: pulumi.Input; httpsEndpoint?: pulumi.Input; instanceConfigurationId?: pulumi.Input; + instanceConfigurationVersion?: pulumi.Input; + latestInstanceConfigurationId?: pulumi.Input; + latestInstanceConfigurationVersion?: pulumi.Input; refId?: pulumi.Input; region?: pulumi.Input; resourceId?: pulumi.Input; diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index cb2a2fd4..2b8f45e3 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -14,6 +14,9 @@ export interface DeploymentApm { httpEndpoint: string; httpsEndpoint: string; instanceConfigurationId: string; + instanceConfigurationVersion: number; + latestInstanceConfigurationId: string; + latestInstanceConfigurationVersion: number; refId: string; region: string; resourceId: string; @@ -150,9 +153,21 @@ export interface DeploymentElasticsearchCold { */ autoscaling: outputs.DeploymentElasticsearchColdAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -188,6 +203,10 @@ export interface DeploymentElasticsearchCold { } export interface DeploymentElasticsearchColdAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -243,9 +262,21 @@ export interface DeploymentElasticsearchCoordinating { */ autoscaling: outputs.DeploymentElasticsearchCoordinatingAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -281,6 +312,10 @@ export interface DeploymentElasticsearchCoordinating { } export interface DeploymentElasticsearchCoordinatingAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -328,9 +363,21 @@ export interface DeploymentElasticsearchFrozen { */ autoscaling: outputs.DeploymentElasticsearchFrozenAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -366,6 +413,10 @@ export interface DeploymentElasticsearchFrozen { } export interface DeploymentElasticsearchFrozenAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -394,9 +445,21 @@ export interface DeploymentElasticsearchHot { */ autoscaling: outputs.DeploymentElasticsearchHotAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -432,6 +495,10 @@ export interface DeploymentElasticsearchHot { } export interface DeploymentElasticsearchHotAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -471,9 +538,21 @@ export interface DeploymentElasticsearchMaster { */ autoscaling: outputs.DeploymentElasticsearchMasterAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -509,6 +588,10 @@ export interface DeploymentElasticsearchMaster { } export interface DeploymentElasticsearchMasterAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -537,9 +620,21 @@ export interface DeploymentElasticsearchMl { */ autoscaling: outputs.DeploymentElasticsearchMlAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -575,6 +670,10 @@ export interface DeploymentElasticsearchMl { } export interface DeploymentElasticsearchMlAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -688,9 +787,21 @@ export interface DeploymentElasticsearchWarm { */ autoscaling: outputs.DeploymentElasticsearchWarmAutoscaling; /** - * Computed Instance Configuration ID of the topology element + * Instance Configuration ID of the topology element */ instanceConfigurationId: string; + /** + * Instance Configuration version of the topology element + */ + instanceConfigurationVersion: number; + /** + * Latest Instance Configuration ID available on the deployment template for the topology element + */ + latestInstanceConfigurationId: string; + /** + * Latest version available for the Instance Configuration with the latest_instance_configuration_id + */ + latestInstanceConfigurationVersion: number; /** * The computed list of node roles for the current topology element */ @@ -726,6 +837,10 @@ export interface DeploymentElasticsearchWarm { } export interface DeploymentElasticsearchWarmAutoscaling { + /** + * Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + */ + autoscale: boolean; /** * Maximum size value for the maximum autoscaling setting. */ @@ -757,6 +872,9 @@ export interface DeploymentEnterpriseSearch { httpEndpoint: string; httpsEndpoint: string; instanceConfigurationId: string; + instanceConfigurationVersion: number; + latestInstanceConfigurationId: string; + latestInstanceConfigurationVersion: number; nodeTypeAppserver: boolean; nodeTypeConnector: boolean; nodeTypeWorker: boolean; @@ -807,6 +925,9 @@ export interface DeploymentIntegrationsServer { httpEndpoint: string; httpsEndpoint: string; instanceConfigurationId: string; + instanceConfigurationVersion: number; + latestInstanceConfigurationId: string; + latestInstanceConfigurationVersion: number; refId: string; region: string; resourceId: string; @@ -848,6 +969,8 @@ export interface DeploymentIntegrationsServerConfig { export interface DeploymentIntegrationsServerEndpoints { apm: string; fleet: string; + profiling: string; + symbols: string; } export interface DeploymentKibana { @@ -859,6 +982,9 @@ export interface DeploymentKibana { httpEndpoint: string; httpsEndpoint: string; instanceConfigurationId: string; + instanceConfigurationVersion: number; + latestInstanceConfigurationId: string; + latestInstanceConfigurationVersion: number; refId: string; region: string; resourceId: string; @@ -1295,6 +1421,232 @@ export interface GetDeploymentObservability { refId: string; } +export interface GetDeploymentTemplatesTemplate { + /** + * Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + */ + apm: outputs.GetDeploymentTemplatesTemplateApm; + /** + * Outdated templates are marked as deprecated, but can still be used. + */ + deprecated: boolean; + /** + * The description of the deployment template. + */ + description: string; + /** + * Defines the default configuration for Elasticsearch. + */ + elasticsearch: outputs.GetDeploymentTemplatesTemplateElasticsearch; + /** + * Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + */ + enterpriseSearch: outputs.GetDeploymentTemplatesTemplateEnterpriseSearch; + /** + * The id of the deployment template. + */ + id: string; + /** + * Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + */ + integrationsServer: outputs.GetDeploymentTemplatesTemplateIntegrationsServer; + /** + * Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + */ + kibana: outputs.GetDeploymentTemplatesTemplateKibana; + /** + * The minimum stack version that can used with this deployment template. + */ + minStackVersion: string; + /** + * The name of the deployment template. + */ + name: string; +} + +export interface GetDeploymentTemplatesTemplateApm { + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearch { + autoscale: boolean; + /** + * Defines the default configuration for each topology. + */ + cold: outputs.GetDeploymentTemplatesTemplateElasticsearchCold; + /** + * Defines the default configuration for each topology. + */ + coordinating: outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinating; + /** + * Defines the default configuration for each topology. + */ + frozen: outputs.GetDeploymentTemplatesTemplateElasticsearchFrozen; + /** + * Defines the default configuration for each topology. + */ + hot: outputs.GetDeploymentTemplatesTemplateElasticsearchHot; + /** + * Defines the default configuration for each topology. + */ + master: outputs.GetDeploymentTemplatesTemplateElasticsearchMaster; + /** + * Defines the default configuration for each topology. + */ + ml: outputs.GetDeploymentTemplatesTemplateElasticsearchMl; + /** + * Defines the default configuration for each topology. + */ + warm: outputs.GetDeploymentTemplatesTemplateElasticsearchWarm; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchCold { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchColdAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchCoordinating { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchFrozen { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchHot { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchHotAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchMaster { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchMasterAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchMl { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchMlAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchWarm { + autoscaling: outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling; + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateElasticsearchWarmAutoscaling { + autoscale: boolean; + maxSize: string; + maxSizeResource: string; + minSize: string; + minSizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateEnterpriseSearch { + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateIntegrationsServer { + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + +export interface GetDeploymentTemplatesTemplateKibana { + availableSizes: string[]; + defaultSize: string; + instanceConfigurationId: string; + instanceConfigurationVersion: number; + sizeResource: string; +} + export interface GetDeploymentsApm { /** * Overall health status of the resource instances. diff --git a/sdk/python/pulumi_ec/__init__.py b/sdk/python/pulumi_ec/__init__.py index c76b78d5..2ad38f0f 100644 --- a/sdk/python/pulumi_ec/__init__.py +++ b/sdk/python/pulumi_ec/__init__.py @@ -13,6 +13,7 @@ from .get_aws_privatelink_endpoint import * from .get_azure_privatelink_endpoint import * from .get_deployment import * +from .get_deployment_templates import * from .get_deployments import * from .get_gcp_private_service_connect_endpoint import * from .get_stack import * diff --git a/sdk/python/pulumi_ec/_inputs.py b/sdk/python/pulumi_ec/_inputs.py index f80d208f..309b57a7 100644 --- a/sdk/python/pulumi_ec/_inputs.py +++ b/sdk/python/pulumi_ec/_inputs.py @@ -63,6 +63,9 @@ def __init__(__self__, *, http_endpoint: Optional[pulumi.Input[str]] = None, https_endpoint: Optional[pulumi.Input[str]] = None, instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, ref_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, @@ -83,6 +86,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -144,6 +153,33 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[pulumi.Input[str]]: @@ -680,6 +716,9 @@ class DeploymentElasticsearchColdArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchColdAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -690,7 +729,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchColdAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -703,6 +745,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -736,7 +784,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchColdAutoscalin @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -744,6 +792,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -844,18 +928,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchColdAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -867,6 +955,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -1036,6 +1136,9 @@ class DeploymentElasticsearchCoordinatingArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchCoordinatingAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -1046,7 +1149,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchCoordinatingAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1059,6 +1165,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1092,7 +1204,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchCoordinatingAu @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -1100,6 +1212,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -1200,18 +1348,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchCoordinatingAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1223,6 +1375,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -1356,6 +1520,9 @@ class DeploymentElasticsearchFrozenArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchFrozenAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -1366,7 +1533,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchFrozenAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1379,6 +1549,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1412,7 +1588,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchFrozenAutoscal @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -1420,6 +1596,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -1520,18 +1732,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchFrozenAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1543,6 +1759,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -1609,6 +1837,9 @@ class DeploymentElasticsearchHotArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchHotAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -1619,7 +1850,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchHotAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1632,6 +1866,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1665,7 +1905,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchHotAutoscaling @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -1673,6 +1913,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -1773,18 +2049,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchHotAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1796,6 +2076,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -1900,6 +2192,9 @@ class DeploymentElasticsearchMasterArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchMasterAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -1910,7 +2205,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchMasterAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1923,6 +2221,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1956,7 +2260,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchMasterAutoscal @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -1964,6 +2268,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -2064,18 +2404,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchMasterAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2087,6 +2431,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -2153,6 +2509,9 @@ class DeploymentElasticsearchMlArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchMlAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -2163,7 +2522,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchMlAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -2176,6 +2538,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -2209,7 +2577,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchMlAutoscalingA @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -2217,6 +2585,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -2317,18 +2721,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchMlAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2340,6 +2748,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -2702,6 +3122,9 @@ class DeploymentElasticsearchWarmArgs: def __init__(__self__, *, autoscaling: pulumi.Input['DeploymentElasticsearchWarmAutoscalingArgs'], instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_roles: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None, node_type_data: Optional[pulumi.Input[str]] = None, node_type_ingest: Optional[pulumi.Input[str]] = None, @@ -2712,7 +3135,10 @@ def __init__(__self__, *, zone_count: Optional[pulumi.Input[int]] = None): """ :param pulumi.Input['DeploymentElasticsearchWarmAutoscalingArgs'] autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param pulumi.Input[str] instance_configuration_id: Computed Instance Configuration ID of the topology element + :param pulumi.Input[str] instance_configuration_id: Instance Configuration ID of the topology element + :param pulumi.Input[int] instance_configuration_version: Instance Configuration version of the topology element + :param pulumi.Input[str] latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param pulumi.Input[int] latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param pulumi.Input[Sequence[pulumi.Input[str]]] node_roles: The computed list of node roles for the current topology element :param pulumi.Input[str] node_type_data: The node type for the Elasticsearch Topology element (data node) :param pulumi.Input[str] node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -2725,6 +3151,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -2758,7 +3190,7 @@ def autoscaling(self, value: pulumi.Input['DeploymentElasticsearchWarmAutoscalin @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") @@ -2766,6 +3198,42 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]: @@ -2866,18 +3334,22 @@ def zone_count(self, value: Optional[pulumi.Input[int]]): @pulumi.input_type class DeploymentElasticsearchWarmAutoscalingArgs: def __init__(__self__, *, + autoscale: Optional[pulumi.Input[bool]] = None, max_size: Optional[pulumi.Input[str]] = None, max_size_resource: Optional[pulumi.Input[str]] = None, min_size: Optional[pulumi.Input[str]] = None, min_size_resource: Optional[pulumi.Input[str]] = None, policy_override_json: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[bool] autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param pulumi.Input[str] max_size: Maximum size value for the maximum autoscaling setting. :param pulumi.Input[str] max_size_resource: Maximum resource type for the maximum autoscaling setting. :param pulumi.Input[str] min_size: Minimum size value for the minimum autoscaling setting. :param pulumi.Input[str] min_size_resource: Minimum resource type for the minimum autoscaling setting. :param pulumi.Input[str] policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2889,6 +3361,18 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[pulumi.Input[bool]]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + + @autoscale.setter + def autoscale(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "autoscale", value) + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[pulumi.Input[str]]: @@ -2958,6 +3442,9 @@ def __init__(__self__, *, http_endpoint: Optional[pulumi.Input[str]] = None, https_endpoint: Optional[pulumi.Input[str]] = None, instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, node_type_appserver: Optional[pulumi.Input[bool]] = None, node_type_connector: Optional[pulumi.Input[bool]] = None, node_type_worker: Optional[pulumi.Input[bool]] = None, @@ -2981,6 +3468,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_type_appserver is not None: pulumi.set(__self__, "node_type_appserver", node_type_appserver) if node_type_connector is not None: @@ -3048,6 +3541,33 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="nodeTypeAppserver") def node_type_appserver(self) -> Optional[pulumi.Input[bool]]: @@ -3229,6 +3749,9 @@ def __init__(__self__, *, http_endpoint: Optional[pulumi.Input[str]] = None, https_endpoint: Optional[pulumi.Input[str]] = None, instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, ref_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, @@ -3252,6 +3775,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -3325,6 +3854,33 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[pulumi.Input[str]]: @@ -3490,9 +4046,13 @@ def user_settings_yaml(self, value: Optional[pulumi.Input[str]]): class DeploymentIntegrationsServerEndpointsArgs: def __init__(__self__, *, apm: pulumi.Input[str], - fleet: pulumi.Input[str]): + fleet: pulumi.Input[str], + profiling: pulumi.Input[str], + symbols: pulumi.Input[str]): pulumi.set(__self__, "apm", apm) pulumi.set(__self__, "fleet", fleet) + pulumi.set(__self__, "profiling", profiling) + pulumi.set(__self__, "symbols", symbols) @property @pulumi.getter @@ -3512,6 +4072,24 @@ def fleet(self) -> pulumi.Input[str]: def fleet(self, value: pulumi.Input[str]): pulumi.set(self, "fleet", value) + @property + @pulumi.getter + def profiling(self) -> pulumi.Input[str]: + return pulumi.get(self, "profiling") + + @profiling.setter + def profiling(self, value: pulumi.Input[str]): + pulumi.set(self, "profiling", value) + + @property + @pulumi.getter + def symbols(self) -> pulumi.Input[str]: + return pulumi.get(self, "symbols") + + @symbols.setter + def symbols(self, value: pulumi.Input[str]): + pulumi.set(self, "symbols", value) + @pulumi.input_type class DeploymentKibanaArgs: @@ -3521,6 +4099,9 @@ def __init__(__self__, *, http_endpoint: Optional[pulumi.Input[str]] = None, https_endpoint: Optional[pulumi.Input[str]] = None, instance_configuration_id: Optional[pulumi.Input[str]] = None, + instance_configuration_version: Optional[pulumi.Input[int]] = None, + latest_instance_configuration_id: Optional[pulumi.Input[str]] = None, + latest_instance_configuration_version: Optional[pulumi.Input[int]] = None, ref_id: Optional[pulumi.Input[str]] = None, region: Optional[pulumi.Input[str]] = None, resource_id: Optional[pulumi.Input[str]] = None, @@ -3541,6 +4122,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -3602,6 +4189,33 @@ def instance_configuration_id(self) -> Optional[pulumi.Input[str]]: def instance_configuration_id(self, value: Optional[pulumi.Input[str]]): pulumi.set(self, "instance_configuration_id", value) + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "instance_configuration_version") + + @instance_configuration_version.setter + def instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "instance_configuration_version", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[pulumi.Input[str]]: + return pulumi.get(self, "latest_instance_configuration_id") + + @latest_instance_configuration_id.setter + def latest_instance_configuration_id(self, value: Optional[pulumi.Input[str]]): + pulumi.set(self, "latest_instance_configuration_id", value) + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[pulumi.Input[int]]: + return pulumi.get(self, "latest_instance_configuration_version") + + @latest_instance_configuration_version.setter + def latest_instance_configuration_version(self, value: Optional[pulumi.Input[int]]): + pulumi.set(self, "latest_instance_configuration_version", value) + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[pulumi.Input[str]]: diff --git a/sdk/python/pulumi_ec/deployment.py b/sdk/python/pulumi_ec/deployment.py index d2e14c9c..32764752 100644 --- a/sdk/python/pulumi_ec/deployment.py +++ b/sdk/python/pulumi_ec/deployment.py @@ -25,6 +25,7 @@ def __init__(__self__, *, enterprise_search: Optional[pulumi.Input['DeploymentEnterpriseSearchArgs']] = None, integrations_server: Optional[pulumi.Input['DeploymentIntegrationsServerArgs']] = None, kibana: Optional[pulumi.Input['DeploymentKibanaArgs']] = None, + migrate_to_latest_hardware: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, observability: Optional[pulumi.Input['DeploymentObservabilityArgs']] = None, request_id: Optional[pulumi.Input[str]] = None, @@ -44,6 +45,10 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentIntegrationsServerArgs'] integrations_server: Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0 :param pulumi.Input['DeploymentKibanaArgs'] kibana: Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana block, since not doing so might cause issues when modifying or upgrading the deployment. + :param pulumi.Input[bool] migrate_to_latest_hardware: When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. :param pulumi.Input[str] name: Extension name. :param pulumi.Input['DeploymentObservabilityArgs'] observability: Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself by setting observability.deployment_id to `self`. @@ -67,6 +72,8 @@ def __init__(__self__, *, pulumi.set(__self__, "integrations_server", integrations_server) if kibana is not None: pulumi.set(__self__, "kibana", kibana) + if migrate_to_latest_hardware is not None: + pulumi.set(__self__, "migrate_to_latest_hardware", migrate_to_latest_hardware) if name is not None: pulumi.set(__self__, "name", name) if observability is not None: @@ -190,6 +197,21 @@ def kibana(self) -> Optional[pulumi.Input['DeploymentKibanaArgs']]: def kibana(self, value: Optional[pulumi.Input['DeploymentKibanaArgs']]): pulumi.set(self, "kibana", value) + @property + @pulumi.getter(name="migrateToLatestHardware") + def migrate_to_latest_hardware(self) -> Optional[pulumi.Input[bool]]: + """ + When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. + """ + return pulumi.get(self, "migrate_to_latest_hardware") + + @migrate_to_latest_hardware.setter + def migrate_to_latest_hardware(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "migrate_to_latest_hardware", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -278,6 +300,7 @@ def __init__(__self__, *, enterprise_search: Optional[pulumi.Input['DeploymentEnterpriseSearchArgs']] = None, integrations_server: Optional[pulumi.Input['DeploymentIntegrationsServerArgs']] = None, kibana: Optional[pulumi.Input['DeploymentKibanaArgs']] = None, + migrate_to_latest_hardware: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, observability: Optional[pulumi.Input['DeploymentObservabilityArgs']] = None, region: Optional[pulumi.Input[str]] = None, @@ -294,12 +317,18 @@ def __init__(__self__, *, :param pulumi.Input['DeploymentElasticsearchArgs'] elasticsearch: Elasticsearch cluster definition :param pulumi.Input[str] elasticsearch_password: Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - import the elasticsearch_username or elasticsearch_password attributes. + import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + Please follow the official Terraform recommendations regarding senstaive data in state. :param pulumi.Input[str] elasticsearch_username: Username for authenticating to the Elasticsearch resource. :param pulumi.Input['DeploymentEnterpriseSearchArgs'] enterprise_search: Enterprise Search cluster definition. :param pulumi.Input['DeploymentIntegrationsServerArgs'] integrations_server: Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0 :param pulumi.Input['DeploymentKibanaArgs'] kibana: Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana block, since not doing so might cause issues when modifying or upgrading the deployment. + :param pulumi.Input[bool] migrate_to_latest_hardware: When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. :param pulumi.Input[str] name: Extension name. :param pulumi.Input['DeploymentObservabilityArgs'] observability: Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself by setting observability.deployment_id to `self`. @@ -332,6 +361,8 @@ def __init__(__self__, *, pulumi.set(__self__, "integrations_server", integrations_server) if kibana is not None: pulumi.set(__self__, "kibana", kibana) + if migrate_to_latest_hardware is not None: + pulumi.set(__self__, "migrate_to_latest_hardware", migrate_to_latest_hardware) if name is not None: pulumi.set(__self__, "name", name) if observability is not None: @@ -412,7 +443,9 @@ def elasticsearch_password(self) -> Optional[pulumi.Input[str]]: """ Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - import the elasticsearch_username or elasticsearch_password attributes. + import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + Please follow the official Terraform recommendations regarding senstaive data in state. """ return pulumi.get(self, "elasticsearch_password") @@ -469,6 +502,21 @@ def kibana(self) -> Optional[pulumi.Input['DeploymentKibanaArgs']]: def kibana(self, value: Optional[pulumi.Input['DeploymentKibanaArgs']]): pulumi.set(self, "kibana", value) + @property + @pulumi.getter(name="migrateToLatestHardware") + def migrate_to_latest_hardware(self) -> Optional[pulumi.Input[bool]]: + """ + When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. + """ + return pulumi.get(self, "migrate_to_latest_hardware") + + @migrate_to_latest_hardware.setter + def migrate_to_latest_hardware(self, value: Optional[pulumi.Input[bool]]): + pulumi.set(self, "migrate_to_latest_hardware", value) + @property @pulumi.getter def name(self) -> Optional[pulumi.Input[str]]: @@ -581,6 +629,7 @@ def __init__(__self__, enterprise_search: Optional[pulumi.Input[pulumi.InputType['DeploymentEnterpriseSearchArgs']]] = None, integrations_server: Optional[pulumi.Input[pulumi.InputType['DeploymentIntegrationsServerArgs']]] = None, kibana: Optional[pulumi.Input[pulumi.InputType['DeploymentKibanaArgs']]] = None, + migrate_to_latest_hardware: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, observability: Optional[pulumi.Input[pulumi.InputType['DeploymentObservabilityArgs']]] = None, region: Optional[pulumi.Input[str]] = None, @@ -609,6 +658,8 @@ def __init__(__self__, ### With Cross Cluster Search settings + ### With Keystore + ## Import ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -635,6 +686,10 @@ def __init__(__self__, :param pulumi.Input[pulumi.InputType['DeploymentIntegrationsServerArgs']] integrations_server: Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0 :param pulumi.Input[pulumi.InputType['DeploymentKibanaArgs']] kibana: Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana block, since not doing so might cause issues when modifying or upgrading the deployment. + :param pulumi.Input[bool] migrate_to_latest_hardware: When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. :param pulumi.Input[str] name: Extension name. :param pulumi.Input[pulumi.InputType['DeploymentObservabilityArgs']] observability: Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself by setting observability.deployment_id to `self`. @@ -672,6 +727,8 @@ def __init__(__self__, ### With Cross Cluster Search settings + ### With Keystore + ## Import ~> **Note on deployment credentials** The `elastic` user credentials are only available whilst creating a deployment. Importing a deployment will not import the `elasticsearch_username` or `elasticsearch_password` attributes. @@ -710,6 +767,7 @@ def _internal_init(__self__, enterprise_search: Optional[pulumi.Input[pulumi.InputType['DeploymentEnterpriseSearchArgs']]] = None, integrations_server: Optional[pulumi.Input[pulumi.InputType['DeploymentIntegrationsServerArgs']]] = None, kibana: Optional[pulumi.Input[pulumi.InputType['DeploymentKibanaArgs']]] = None, + migrate_to_latest_hardware: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, observability: Optional[pulumi.Input[pulumi.InputType['DeploymentObservabilityArgs']]] = None, region: Optional[pulumi.Input[str]] = None, @@ -738,6 +796,7 @@ def _internal_init(__self__, __props__.__dict__["enterprise_search"] = enterprise_search __props__.__dict__["integrations_server"] = integrations_server __props__.__dict__["kibana"] = kibana + __props__.__dict__["migrate_to_latest_hardware"] = migrate_to_latest_hardware __props__.__dict__["name"] = name __props__.__dict__["observability"] = observability if region is None and not opts.urn: @@ -775,6 +834,7 @@ def get(resource_name: str, enterprise_search: Optional[pulumi.Input[pulumi.InputType['DeploymentEnterpriseSearchArgs']]] = None, integrations_server: Optional[pulumi.Input[pulumi.InputType['DeploymentIntegrationsServerArgs']]] = None, kibana: Optional[pulumi.Input[pulumi.InputType['DeploymentKibanaArgs']]] = None, + migrate_to_latest_hardware: Optional[pulumi.Input[bool]] = None, name: Optional[pulumi.Input[str]] = None, observability: Optional[pulumi.Input[pulumi.InputType['DeploymentObservabilityArgs']]] = None, region: Optional[pulumi.Input[str]] = None, @@ -796,12 +856,18 @@ def get(resource_name: str, :param pulumi.Input[pulumi.InputType['DeploymentElasticsearchArgs']] elasticsearch: Elasticsearch cluster definition :param pulumi.Input[str] elasticsearch_password: Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - import the elasticsearch_username or elasticsearch_password attributes. + import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + Please follow the official Terraform recommendations regarding senstaive data in state. :param pulumi.Input[str] elasticsearch_username: Username for authenticating to the Elasticsearch resource. :param pulumi.Input[pulumi.InputType['DeploymentEnterpriseSearchArgs']] enterprise_search: Enterprise Search cluster definition. :param pulumi.Input[pulumi.InputType['DeploymentIntegrationsServerArgs']] integrations_server: Integrations Server cluster definition. Integrations Server replaces `apm` in Stack versions > 8.0 :param pulumi.Input[pulumi.InputType['DeploymentKibanaArgs']] kibana: Kibana cluster definition. -> **Note on disabling Kibana** While optional it is recommended deployments specify a Kibana block, since not doing so might cause issues when modifying or upgrading the deployment. + :param pulumi.Input[bool] migrate_to_latest_hardware: When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. :param pulumi.Input[str] name: Extension name. :param pulumi.Input[pulumi.InputType['DeploymentObservabilityArgs']] observability: Observability settings that you can set to ship logs and metrics to a deployment. The target deployment can also be the current deployment itself by setting observability.deployment_id to `self`. @@ -828,6 +894,7 @@ def get(resource_name: str, __props__.__dict__["enterprise_search"] = enterprise_search __props__.__dict__["integrations_server"] = integrations_server __props__.__dict__["kibana"] = kibana + __props__.__dict__["migrate_to_latest_hardware"] = migrate_to_latest_hardware __props__.__dict__["name"] = name __props__.__dict__["observability"] = observability __props__.__dict__["region"] = region @@ -881,7 +948,9 @@ def elasticsearch_password(self) -> pulumi.Output[str]: """ Password for authenticating to the Elasticsearch resource. ~> **Note on deployment credentials** The elastic user credentials are only available whilst creating a deployment. Importing a deployment will not - import the elasticsearch_username or elasticsearch_password attributes. + import the elasticsearch_username or elasticsearch_password attributes. ~> **Note on + deployment credentials in state** The elastic user credentials are stored in the state file as plain text. + Please follow the official Terraform recommendations regarding senstaive data in state. """ return pulumi.get(self, "elasticsearch_password") @@ -918,6 +987,17 @@ def kibana(self) -> pulumi.Output[Optional['outputs.DeploymentKibana']]: """ return pulumi.get(self, "kibana") + @property + @pulumi.getter(name="migrateToLatestHardware") + def migrate_to_latest_hardware(self) -> pulumi.Output[Optional[bool]]: + """ + When set to true, the deployment will be updated according to the latest deployment template values. ~> **Note** If the + instance_configuration_id or instance_configuration_version fields are set for a specific + topology element, that element will not be updated. ~> **Note** Hardware migrations are not supported for deployments + with node types. To use this field, the deployment needs to be migrated to node roles first. + """ + return pulumi.get(self, "migrate_to_latest_hardware") + @property @pulumi.getter def name(self) -> pulumi.Output[str]: diff --git a/sdk/python/pulumi_ec/get_deployment_templates.py b/sdk/python/pulumi_ec/get_deployment_templates.py new file mode 100644 index 00000000..7e1fd262 --- /dev/null +++ b/sdk/python/pulumi_ec/get_deployment_templates.py @@ -0,0 +1,183 @@ +# coding=utf-8 +# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** +# *** Do not edit by hand unless you're certain you know what you are doing! *** + +import copy +import warnings +import pulumi +import pulumi.runtime +from typing import Any, Mapping, Optional, Sequence, Union, overload +from . import _utilities +from . import outputs + +__all__ = [ + 'GetDeploymentTemplatesResult', + 'AwaitableGetDeploymentTemplatesResult', + 'get_deployment_templates', + 'get_deployment_templates_output', +] + +@pulumi.output_type +class GetDeploymentTemplatesResult: + """ + A collection of values returned by getDeploymentTemplates. + """ + def __init__(__self__, id=None, region=None, show_deprecated=None, stack_version=None, templates=None): + if id and not isinstance(id, str): + raise TypeError("Expected argument 'id' to be a str") + pulumi.set(__self__, "id", id) + if region and not isinstance(region, str): + raise TypeError("Expected argument 'region' to be a str") + pulumi.set(__self__, "region", region) + if show_deprecated and not isinstance(show_deprecated, bool): + raise TypeError("Expected argument 'show_deprecated' to be a bool") + pulumi.set(__self__, "show_deprecated", show_deprecated) + if stack_version and not isinstance(stack_version, str): + raise TypeError("Expected argument 'stack_version' to be a str") + pulumi.set(__self__, "stack_version", stack_version) + if templates and not isinstance(templates, list): + raise TypeError("Expected argument 'templates' to be a list") + pulumi.set(__self__, "templates", templates) + + @property + @pulumi.getter + def id(self) -> Optional[str]: + """ + Filters for a deployment template with this id. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter + def region(self) -> str: + """ + Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + """ + return pulumi.get(self, "region") + + @property + @pulumi.getter(name="showDeprecated") + def show_deprecated(self) -> Optional[bool]: + """ + Enable to also show deprecated deployment templates. (Set to false by default.) + """ + return pulumi.get(self, "show_deprecated") + + @property + @pulumi.getter(name="stackVersion") + def stack_version(self) -> Optional[str]: + """ + Filters for deployment templates compatible with this stack version. + """ + return pulumi.get(self, "stack_version") + + @property + @pulumi.getter + def templates(self) -> Sequence['outputs.GetDeploymentTemplatesTemplateResult']: + """ + List of available deployment templates. + """ + return pulumi.get(self, "templates") + + +class AwaitableGetDeploymentTemplatesResult(GetDeploymentTemplatesResult): + # pylint: disable=using-constant-test + def __await__(self): + if False: + yield self + return GetDeploymentTemplatesResult( + id=self.id, + region=self.region, + show_deprecated=self.show_deprecated, + stack_version=self.stack_version, + templates=self.templates) + + +def get_deployment_templates(id: Optional[str] = None, + region: Optional[str] = None, + show_deprecated: Optional[bool] = None, + stack_version: Optional[str] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDeploymentTemplatesResult: + """ + Use this data source to retrieve a list of available deployment templates. + + ## Example Usage + + + ```python + import pulumi + import pulumi_ec as ec + + example = ec.get_deployment_templates(region="us-east-1") + my_deployment = ec.Deployment("myDeployment", + version="8.12.2", + region=data["ec_deployment_templates"]["all_templates"]["region"], + deployment_template_id=data["ec_deployment_templates"]["all_templates"]["templates"][0]["id"], + elasticsearch=ec.DeploymentElasticsearchArgs( + hot=ec.DeploymentElasticsearchHotArgs( + autoscaling=ec.DeploymentElasticsearchHotAutoscalingArgs(), + ), + ), + kibana=ec.DeploymentKibanaArgs()) + ``` + + + + :param str id: The id of the deployment template. + :param str region: Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + :param bool show_deprecated: Enable to also show deprecated deployment templates. (Set to false by default.) + :param str stack_version: Filters for deployment templates compatible with this stack version. + """ + __args__ = dict() + __args__['id'] = id + __args__['region'] = region + __args__['showDeprecated'] = show_deprecated + __args__['stackVersion'] = stack_version + opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts) + __ret__ = pulumi.runtime.invoke('ec:index/getDeploymentTemplates:getDeploymentTemplates', __args__, opts=opts, typ=GetDeploymentTemplatesResult).value + + return AwaitableGetDeploymentTemplatesResult( + id=pulumi.get(__ret__, 'id'), + region=pulumi.get(__ret__, 'region'), + show_deprecated=pulumi.get(__ret__, 'show_deprecated'), + stack_version=pulumi.get(__ret__, 'stack_version'), + templates=pulumi.get(__ret__, 'templates')) + + +@_utilities.lift_output_func(get_deployment_templates) +def get_deployment_templates_output(id: Optional[pulumi.Input[Optional[str]]] = None, + region: Optional[pulumi.Input[str]] = None, + show_deprecated: Optional[pulumi.Input[Optional[bool]]] = None, + stack_version: Optional[pulumi.Input[Optional[str]]] = None, + opts: Optional[pulumi.InvokeOptions] = None) -> pulumi.Output[GetDeploymentTemplatesResult]: + """ + Use this data source to retrieve a list of available deployment templates. + + ## Example Usage + + + ```python + import pulumi + import pulumi_ec as ec + + example = ec.get_deployment_templates(region="us-east-1") + my_deployment = ec.Deployment("myDeployment", + version="8.12.2", + region=data["ec_deployment_templates"]["all_templates"]["region"], + deployment_template_id=data["ec_deployment_templates"]["all_templates"]["templates"][0]["id"], + elasticsearch=ec.DeploymentElasticsearchArgs( + hot=ec.DeploymentElasticsearchHotArgs( + autoscaling=ec.DeploymentElasticsearchHotAutoscalingArgs(), + ), + ), + kibana=ec.DeploymentKibanaArgs()) + ``` + + + + :param str id: The id of the deployment template. + :param str region: Region to select. For Elastic Cloud Enterprise (ECE) installations, use `ece-region`. + :param bool show_deprecated: Enable to also show deprecated deployment templates. (Set to false by default.) + :param str stack_version: Filters for deployment templates compatible with this stack version. + """ + ... diff --git a/sdk/python/pulumi_ec/get_deployments.py b/sdk/python/pulumi_ec/get_deployments.py index 2b74454a..1152a808 100644 --- a/sdk/python/pulumi_ec/get_deployments.py +++ b/sdk/python/pulumi_ec/get_deployments.py @@ -23,7 +23,7 @@ class GetDeploymentsResult: """ A collection of values returned by getDeployments. """ - def __init__(__self__, apms=None, deployment_template_id=None, deployments=None, elasticsearches=None, enterprise_searches=None, healthy=None, id=None, integrations_servers=None, kibanas=None, name_prefix=None, return_count=None, size=None, tags=None): + def __init__(__self__, apms=None, deployment_template_id=None, deployments=None, elasticsearches=None, enterprise_searches=None, healthy=None, id=None, integrations_servers=None, kibanas=None, name=None, name_prefix=None, return_count=None, size=None, tags=None): if apms and not isinstance(apms, list): raise TypeError("Expected argument 'apms' to be a list") pulumi.set(__self__, "apms", apms) @@ -51,6 +51,9 @@ def __init__(__self__, apms=None, deployment_template_id=None, deployments=None, if kibanas and not isinstance(kibanas, list): raise TypeError("Expected argument 'kibanas' to be a list") pulumi.set(__self__, "kibanas", kibanas) + if name and not isinstance(name, str): + raise TypeError("Expected argument 'name' to be a str") + pulumi.set(__self__, "name", name) if name_prefix and not isinstance(name_prefix, str): raise TypeError("Expected argument 'name_prefix' to be a str") pulumi.set(__self__, "name_prefix", name_prefix) @@ -136,6 +139,14 @@ def kibanas(self) -> Optional[Sequence['outputs.GetDeploymentsKibanaResult']]: """ return pulumi.get(self, "kibanas") + @property + @pulumi.getter + def name(self) -> Optional[str]: + """ + Filter the result by the full deployment name. + """ + return pulumi.get(self, "name") + @property @pulumi.getter(name="namePrefix") def name_prefix(self) -> Optional[str]: @@ -184,6 +195,7 @@ def __await__(self): id=self.id, integrations_servers=self.integrations_servers, kibanas=self.kibanas, + name=self.name, name_prefix=self.name_prefix, return_count=self.return_count, size=self.size, @@ -197,6 +209,7 @@ def get_deployments(apms: Optional[Sequence[pulumi.InputType['GetDeploymentsApmA healthy: Optional[str] = None, integrations_servers: Optional[Sequence[pulumi.InputType['GetDeploymentsIntegrationsServerArgs']]] = None, kibanas: Optional[Sequence[pulumi.InputType['GetDeploymentsKibanaArgs']]] = None, + name: Optional[str] = None, name_prefix: Optional[str] = None, size: Optional[int] = None, tags: Optional[Mapping[str, str]] = None, @@ -240,6 +253,7 @@ def get_deployments(apms: Optional[Sequence[pulumi.InputType['GetDeploymentsApmA :param str healthy: Overall health status of the resource instances. :param Sequence[pulumi.InputType['GetDeploymentsIntegrationsServerArgs']] integrations_servers: Filter by Integrations Server resource kind status or configuration. :param Sequence[pulumi.InputType['GetDeploymentsKibanaArgs']] kibanas: Filter by Kibana resource kind status or configuration. + :param str name: The name of the deployment. :param str name_prefix: Prefix to filter the returned deployment list by. :param int size: The maximum number of deployments to return. Defaults to `100`. :param Mapping[str, str] tags: Filter the result set by their assigned tags. @@ -252,6 +266,7 @@ def get_deployments(apms: Optional[Sequence[pulumi.InputType['GetDeploymentsApmA __args__['healthy'] = healthy __args__['integrationsServers'] = integrations_servers __args__['kibanas'] = kibanas + __args__['name'] = name __args__['namePrefix'] = name_prefix __args__['size'] = size __args__['tags'] = tags @@ -268,6 +283,7 @@ def get_deployments(apms: Optional[Sequence[pulumi.InputType['GetDeploymentsApmA id=pulumi.get(__ret__, 'id'), integrations_servers=pulumi.get(__ret__, 'integrations_servers'), kibanas=pulumi.get(__ret__, 'kibanas'), + name=pulumi.get(__ret__, 'name'), name_prefix=pulumi.get(__ret__, 'name_prefix'), return_count=pulumi.get(__ret__, 'return_count'), size=pulumi.get(__ret__, 'size'), @@ -282,6 +298,7 @@ def get_deployments_output(apms: Optional[pulumi.Input[Optional[Sequence[pulumi. healthy: Optional[pulumi.Input[Optional[str]]] = None, integrations_servers: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDeploymentsIntegrationsServerArgs']]]]] = None, kibanas: Optional[pulumi.Input[Optional[Sequence[pulumi.InputType['GetDeploymentsKibanaArgs']]]]] = None, + name: Optional[pulumi.Input[Optional[str]]] = None, name_prefix: Optional[pulumi.Input[Optional[str]]] = None, size: Optional[pulumi.Input[Optional[int]]] = None, tags: Optional[pulumi.Input[Optional[Mapping[str, str]]]] = None, @@ -325,6 +342,7 @@ def get_deployments_output(apms: Optional[pulumi.Input[Optional[Sequence[pulumi. :param str healthy: Overall health status of the resource instances. :param Sequence[pulumi.InputType['GetDeploymentsIntegrationsServerArgs']] integrations_servers: Filter by Integrations Server resource kind status or configuration. :param Sequence[pulumi.InputType['GetDeploymentsKibanaArgs']] kibanas: Filter by Kibana resource kind status or configuration. + :param str name: The name of the deployment. :param str name_prefix: Prefix to filter the returned deployment list by. :param int size: The maximum number of deployments to return. Defaults to `100`. :param Mapping[str, str] tags: Filter the result set by their assigned tags. diff --git a/sdk/python/pulumi_ec/outputs.py b/sdk/python/pulumi_ec/outputs.py index ac65f82a..4e0ee8e4 100644 --- a/sdk/python/pulumi_ec/outputs.py +++ b/sdk/python/pulumi_ec/outputs.py @@ -61,6 +61,26 @@ 'GetDeploymentKibanaResult', 'GetDeploymentKibanaTopologyResult', 'GetDeploymentObservabilityResult', + 'GetDeploymentTemplatesTemplateResult', + 'GetDeploymentTemplatesTemplateApmResult', + 'GetDeploymentTemplatesTemplateElasticsearchResult', + 'GetDeploymentTemplatesTemplateElasticsearchColdResult', + 'GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult', + 'GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchFrozenResult', + 'GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchHotResult', + 'GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchMasterResult', + 'GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchMlResult', + 'GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult', + 'GetDeploymentTemplatesTemplateElasticsearchWarmResult', + 'GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult', + 'GetDeploymentTemplatesTemplateEnterpriseSearchResult', + 'GetDeploymentTemplatesTemplateIntegrationsServerResult', + 'GetDeploymentTemplatesTemplateKibanaResult', 'GetDeploymentsApmResult', 'GetDeploymentsDeploymentResult', 'GetDeploymentsElasticsearchResult', @@ -88,6 +108,12 @@ def __key_warning(key: str): suggest = "https_endpoint" elif key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "refId": suggest = "ref_id" elif key == "resourceId": @@ -114,6 +140,9 @@ def __init__(__self__, *, http_endpoint: Optional[str] = None, https_endpoint: Optional[str] = None, instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, ref_id: Optional[str] = None, region: Optional[str] = None, resource_id: Optional[str] = None, @@ -134,6 +163,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -175,6 +210,21 @@ def https_endpoint(self) -> Optional[str]: def instance_configuration_id(self) -> Optional[str]: return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[str]: @@ -635,6 +685,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -664,6 +720,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchColdAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -674,7 +733,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchColdAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -687,6 +749,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -716,10 +784,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchColdAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -813,18 +905,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -836,6 +932,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -988,6 +1092,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -1017,6 +1127,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchCoordinatingAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -1027,7 +1140,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchCoordinatingAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1040,6 +1156,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1069,10 +1191,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchCoordinatingAutoscaling @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -1166,18 +1312,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1189,6 +1339,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -1288,6 +1446,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -1317,6 +1481,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchFrozenAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -1327,7 +1494,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchFrozenAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1340,6 +1510,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1369,10 +1545,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchFrozenAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -1466,18 +1666,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1489,6 +1693,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -1537,6 +1749,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -1566,6 +1784,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchHotAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -1576,7 +1797,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchHotAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1589,6 +1813,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1618,10 +1848,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchHotAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -1715,18 +1969,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -1738,6 +1996,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -1833,6 +2099,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -1862,6 +2134,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchMasterAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -1872,7 +2147,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchMasterAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -1885,6 +2163,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -1914,10 +2198,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchMasterAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -2011,18 +2319,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2034,6 +2346,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -2082,6 +2402,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -2111,6 +2437,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchMlAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -2121,7 +2450,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchMlAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -2134,6 +2466,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -2163,10 +2501,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchMlAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -2260,18 +2622,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2283,6 +2649,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -2662,6 +3036,12 @@ def __key_warning(key: str): suggest = None if key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeRoles": suggest = "node_roles" elif key == "nodeTypeData": @@ -2691,6 +3071,9 @@ def get(self, key: str, default = None) -> Any: def __init__(__self__, *, autoscaling: 'outputs.DeploymentElasticsearchWarmAutoscaling', instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_roles: Optional[Sequence[str]] = None, node_type_data: Optional[str] = None, node_type_ingest: Optional[str] = None, @@ -2701,7 +3084,10 @@ def __init__(__self__, *, zone_count: Optional[int] = None): """ :param 'DeploymentElasticsearchWarmAutoscalingArgs' autoscaling: Optional Elasticsearch autoscaling settings, such a maximum and minimum size and resources. - :param str instance_configuration_id: Computed Instance Configuration ID of the topology element + :param str instance_configuration_id: Instance Configuration ID of the topology element + :param int instance_configuration_version: Instance Configuration version of the topology element + :param str latest_instance_configuration_id: Latest Instance Configuration ID available on the deployment template for the topology element + :param int latest_instance_configuration_version: Latest version available for the Instance Configuration with the latest_instance_configuration_id :param Sequence[str] node_roles: The computed list of node roles for the current topology element :param str node_type_data: The node type for the Elasticsearch Topology element (data node) :param str node_type_ingest: The node type for the Elasticsearch Topology element (ingest node) @@ -2714,6 +3100,12 @@ def __init__(__self__, *, pulumi.set(__self__, "autoscaling", autoscaling) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_roles is not None: pulumi.set(__self__, "node_roles", node_roles) if node_type_data is not None: @@ -2743,10 +3135,34 @@ def autoscaling(self) -> 'outputs.DeploymentElasticsearchWarmAutoscaling': @pulumi.getter(name="instanceConfigurationId") def instance_configuration_id(self) -> Optional[str]: """ - Computed Instance Configuration ID of the topology element + Instance Configuration ID of the topology element """ return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + """ + Instance Configuration version of the topology element + """ + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + """ + Latest Instance Configuration ID available on the deployment template for the topology element + """ + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + """ + Latest version available for the Instance Configuration with the latest_instance_configuration_id + """ + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeRoles") def node_roles(self) -> Optional[Sequence[str]]: @@ -2840,18 +3256,22 @@ def get(self, key: str, default = None) -> Any: return super().get(key, default) def __init__(__self__, *, + autoscale: Optional[bool] = None, max_size: Optional[str] = None, max_size_resource: Optional[str] = None, min_size: Optional[str] = None, min_size_resource: Optional[str] = None, policy_override_json: Optional[str] = None): """ + :param bool autoscale: Enable or disable autoscaling. Defaults to the setting coming from the deployment template. :param str max_size: Maximum size value for the maximum autoscaling setting. :param str max_size_resource: Maximum resource type for the maximum autoscaling setting. :param str min_size: Minimum size value for the minimum autoscaling setting. :param str min_size_resource: Minimum resource type for the minimum autoscaling setting. :param str policy_override_json: Computed policy overrides set directly via the API or other clients. """ + if autoscale is not None: + pulumi.set(__self__, "autoscale", autoscale) if max_size is not None: pulumi.set(__self__, "max_size", max_size) if max_size_resource is not None: @@ -2863,6 +3283,14 @@ def __init__(__self__, *, if policy_override_json is not None: pulumi.set(__self__, "policy_override_json", policy_override_json) + @property + @pulumi.getter + def autoscale(self) -> Optional[bool]: + """ + Enable or disable autoscaling. Defaults to the setting coming from the deployment template. + """ + return pulumi.get(self, "autoscale") + @property @pulumi.getter(name="maxSize") def max_size(self) -> Optional[str]: @@ -2917,6 +3345,12 @@ def __key_warning(key: str): suggest = "https_endpoint" elif key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "nodeTypeAppserver": suggest = "node_type_appserver" elif key == "nodeTypeConnector": @@ -2949,6 +3383,9 @@ def __init__(__self__, *, http_endpoint: Optional[str] = None, https_endpoint: Optional[str] = None, instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, node_type_appserver: Optional[bool] = None, node_type_connector: Optional[bool] = None, node_type_worker: Optional[bool] = None, @@ -2972,6 +3409,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if node_type_appserver is not None: pulumi.set(__self__, "node_type_appserver", node_type_appserver) if node_type_connector is not None: @@ -3019,6 +3462,21 @@ def https_endpoint(self) -> Optional[str]: def instance_configuration_id(self) -> Optional[str]: return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="nodeTypeAppserver") def node_type_appserver(self) -> Optional[bool]: @@ -3173,6 +3631,12 @@ def __key_warning(key: str): suggest = "https_endpoint" elif key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "refId": suggest = "ref_id" elif key == "resourceId": @@ -3200,6 +3664,9 @@ def __init__(__self__, *, http_endpoint: Optional[str] = None, https_endpoint: Optional[str] = None, instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, ref_id: Optional[str] = None, region: Optional[str] = None, resource_id: Optional[str] = None, @@ -3223,6 +3690,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -3272,6 +3745,21 @@ def https_endpoint(self) -> Optional[str]: def instance_configuration_id(self) -> Optional[str]: return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[str]: @@ -3416,9 +3904,13 @@ def user_settings_yaml(self) -> Optional[str]: class DeploymentIntegrationsServerEndpoints(dict): def __init__(__self__, *, apm: str, - fleet: str): + fleet: str, + profiling: str, + symbols: str): pulumi.set(__self__, "apm", apm) pulumi.set(__self__, "fleet", fleet) + pulumi.set(__self__, "profiling", profiling) + pulumi.set(__self__, "symbols", symbols) @property @pulumi.getter @@ -3430,6 +3922,16 @@ def apm(self) -> str: def fleet(self) -> str: return pulumi.get(self, "fleet") + @property + @pulumi.getter + def profiling(self) -> str: + return pulumi.get(self, "profiling") + + @property + @pulumi.getter + def symbols(self) -> str: + return pulumi.get(self, "symbols") + @pulumi.output_type class DeploymentKibana(dict): @@ -3444,6 +3946,12 @@ def __key_warning(key: str): suggest = "https_endpoint" elif key == "instanceConfigurationId": suggest = "instance_configuration_id" + elif key == "instanceConfigurationVersion": + suggest = "instance_configuration_version" + elif key == "latestInstanceConfigurationId": + suggest = "latest_instance_configuration_id" + elif key == "latestInstanceConfigurationVersion": + suggest = "latest_instance_configuration_version" elif key == "refId": suggest = "ref_id" elif key == "resourceId": @@ -3470,6 +3978,9 @@ def __init__(__self__, *, http_endpoint: Optional[str] = None, https_endpoint: Optional[str] = None, instance_configuration_id: Optional[str] = None, + instance_configuration_version: Optional[int] = None, + latest_instance_configuration_id: Optional[str] = None, + latest_instance_configuration_version: Optional[int] = None, ref_id: Optional[str] = None, region: Optional[str] = None, resource_id: Optional[str] = None, @@ -3490,6 +4001,12 @@ def __init__(__self__, *, pulumi.set(__self__, "https_endpoint", https_endpoint) if instance_configuration_id is not None: pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + if instance_configuration_version is not None: + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + if latest_instance_configuration_id is not None: + pulumi.set(__self__, "latest_instance_configuration_id", latest_instance_configuration_id) + if latest_instance_configuration_version is not None: + pulumi.set(__self__, "latest_instance_configuration_version", latest_instance_configuration_version) if ref_id is not None: pulumi.set(__self__, "ref_id", ref_id) if region is not None: @@ -3531,6 +4048,21 @@ def https_endpoint(self) -> Optional[str]: def instance_configuration_id(self) -> Optional[str]: return pulumi.get(self, "instance_configuration_id") + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="latestInstanceConfigurationId") + def latest_instance_configuration_id(self) -> Optional[str]: + return pulumi.get(self, "latest_instance_configuration_id") + + @property + @pulumi.getter(name="latestInstanceConfigurationVersion") + def latest_instance_configuration_version(self) -> Optional[int]: + return pulumi.get(self, "latest_instance_configuration_version") + @property @pulumi.getter(name="refId") def ref_id(self) -> Optional[str]: @@ -4948,6 +5480,983 @@ def ref_id(self) -> str: return pulumi.get(self, "ref_id") +@pulumi.output_type +class GetDeploymentTemplatesTemplateResult(dict): + def __init__(__self__, *, + apm: 'outputs.GetDeploymentTemplatesTemplateApmResult', + deprecated: bool, + description: str, + elasticsearch: 'outputs.GetDeploymentTemplatesTemplateElasticsearchResult', + enterprise_search: 'outputs.GetDeploymentTemplatesTemplateEnterpriseSearchResult', + id: str, + integrations_server: 'outputs.GetDeploymentTemplatesTemplateIntegrationsServerResult', + kibana: 'outputs.GetDeploymentTemplatesTemplateKibanaResult', + min_stack_version: str, + name: str): + """ + :param 'GetDeploymentTemplatesTemplateApmArgs' apm: Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + :param bool deprecated: Outdated templates are marked as deprecated, but can still be used. + :param str description: The description of the deployment template. + :param 'GetDeploymentTemplatesTemplateElasticsearchArgs' elasticsearch: Defines the default configuration for Elasticsearch. + :param 'GetDeploymentTemplatesTemplateEnterpriseSearchArgs' enterprise_search: Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + :param str id: The id of the deployment template. + :param 'GetDeploymentTemplatesTemplateIntegrationsServerArgs' integrations_server: Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + :param 'GetDeploymentTemplatesTemplateKibanaArgs' kibana: Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + :param str min_stack_version: The minimum stack version that can used with this deployment template. + :param str name: The name of the deployment template. + """ + pulumi.set(__self__, "apm", apm) + pulumi.set(__self__, "deprecated", deprecated) + pulumi.set(__self__, "description", description) + pulumi.set(__self__, "elasticsearch", elasticsearch) + pulumi.set(__self__, "enterprise_search", enterprise_search) + pulumi.set(__self__, "id", id) + pulumi.set(__self__, "integrations_server", integrations_server) + pulumi.set(__self__, "kibana", kibana) + pulumi.set(__self__, "min_stack_version", min_stack_version) + pulumi.set(__self__, "name", name) + + @property + @pulumi.getter + def apm(self) -> 'outputs.GetDeploymentTemplatesTemplateApmResult': + """ + Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + """ + return pulumi.get(self, "apm") + + @property + @pulumi.getter + def deprecated(self) -> bool: + """ + Outdated templates are marked as deprecated, but can still be used. + """ + return pulumi.get(self, "deprecated") + + @property + @pulumi.getter + def description(self) -> str: + """ + The description of the deployment template. + """ + return pulumi.get(self, "description") + + @property + @pulumi.getter + def elasticsearch(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchResult': + """ + Defines the default configuration for Elasticsearch. + """ + return pulumi.get(self, "elasticsearch") + + @property + @pulumi.getter(name="enterpriseSearch") + def enterprise_search(self) -> 'outputs.GetDeploymentTemplatesTemplateEnterpriseSearchResult': + """ + Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + """ + return pulumi.get(self, "enterprise_search") + + @property + @pulumi.getter + def id(self) -> str: + """ + The id of the deployment template. + """ + return pulumi.get(self, "id") + + @property + @pulumi.getter(name="integrationsServer") + def integrations_server(self) -> 'outputs.GetDeploymentTemplatesTemplateIntegrationsServerResult': + """ + Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + """ + return pulumi.get(self, "integrations_server") + + @property + @pulumi.getter + def kibana(self) -> 'outputs.GetDeploymentTemplatesTemplateKibanaResult': + """ + Defines the default configuration for a stateless application (Kibana, Enterprise Search, APM or Integrations Server). + """ + return pulumi.get(self, "kibana") + + @property + @pulumi.getter(name="minStackVersion") + def min_stack_version(self) -> str: + """ + The minimum stack version that can used with this deployment template. + """ + return pulumi.get(self, "min_stack_version") + + @property + @pulumi.getter + def name(self) -> str: + """ + The name of the deployment template. + """ + return pulumi.get(self, "name") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateApmResult(dict): + def __init__(__self__, *, + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchResult(dict): + def __init__(__self__, *, + autoscale: bool, + cold: 'outputs.GetDeploymentTemplatesTemplateElasticsearchColdResult', + coordinating: 'outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult', + frozen: 'outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenResult', + hot: 'outputs.GetDeploymentTemplatesTemplateElasticsearchHotResult', + master: 'outputs.GetDeploymentTemplatesTemplateElasticsearchMasterResult', + ml: 'outputs.GetDeploymentTemplatesTemplateElasticsearchMlResult', + warm: 'outputs.GetDeploymentTemplatesTemplateElasticsearchWarmResult'): + """ + :param 'GetDeploymentTemplatesTemplateElasticsearchColdArgs' cold: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchCoordinatingArgs' coordinating: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchFrozenArgs' frozen: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchHotArgs' hot: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchMasterArgs' master: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchMlArgs' ml: Defines the default configuration for each topology. + :param 'GetDeploymentTemplatesTemplateElasticsearchWarmArgs' warm: Defines the default configuration for each topology. + """ + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "cold", cold) + pulumi.set(__self__, "coordinating", coordinating) + pulumi.set(__self__, "frozen", frozen) + pulumi.set(__self__, "hot", hot) + pulumi.set(__self__, "master", master) + pulumi.set(__self__, "ml", ml) + pulumi.set(__self__, "warm", warm) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter + def cold(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchColdResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "cold") + + @property + @pulumi.getter + def coordinating(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "coordinating") + + @property + @pulumi.getter + def frozen(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "frozen") + + @property + @pulumi.getter + def hot(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchHotResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "hot") + + @property + @pulumi.getter + def master(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchMasterResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "master") + + @property + @pulumi.getter + def ml(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchMlResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "ml") + + @property + @pulumi.getter + def warm(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchWarmResult': + """ + Defines the default configuration for each topology. + """ + return pulumi.get(self, "warm") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchColdResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchColdAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchCoordinatingResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchCoordinatingAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchFrozenResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchFrozenAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchHotResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchHotAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchMasterResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchMasterAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchMlResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchMlAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchWarmResult(dict): + def __init__(__self__, *, + autoscaling: 'outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult', + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "autoscaling", autoscaling) + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter + def autoscaling(self) -> 'outputs.GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult': + return pulumi.get(self, "autoscaling") + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateElasticsearchWarmAutoscalingResult(dict): + def __init__(__self__, *, + autoscale: bool, + max_size: str, + max_size_resource: str, + min_size: str, + min_size_resource: str): + pulumi.set(__self__, "autoscale", autoscale) + pulumi.set(__self__, "max_size", max_size) + pulumi.set(__self__, "max_size_resource", max_size_resource) + pulumi.set(__self__, "min_size", min_size) + pulumi.set(__self__, "min_size_resource", min_size_resource) + + @property + @pulumi.getter + def autoscale(self) -> bool: + return pulumi.get(self, "autoscale") + + @property + @pulumi.getter(name="maxSize") + def max_size(self) -> str: + return pulumi.get(self, "max_size") + + @property + @pulumi.getter(name="maxSizeResource") + def max_size_resource(self) -> str: + return pulumi.get(self, "max_size_resource") + + @property + @pulumi.getter(name="minSize") + def min_size(self) -> str: + return pulumi.get(self, "min_size") + + @property + @pulumi.getter(name="minSizeResource") + def min_size_resource(self) -> str: + return pulumi.get(self, "min_size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateEnterpriseSearchResult(dict): + def __init__(__self__, *, + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateIntegrationsServerResult(dict): + def __init__(__self__, *, + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + +@pulumi.output_type +class GetDeploymentTemplatesTemplateKibanaResult(dict): + def __init__(__self__, *, + available_sizes: Sequence[str], + default_size: str, + instance_configuration_id: str, + instance_configuration_version: float, + size_resource: str): + pulumi.set(__self__, "available_sizes", available_sizes) + pulumi.set(__self__, "default_size", default_size) + pulumi.set(__self__, "instance_configuration_id", instance_configuration_id) + pulumi.set(__self__, "instance_configuration_version", instance_configuration_version) + pulumi.set(__self__, "size_resource", size_resource) + + @property + @pulumi.getter(name="availableSizes") + def available_sizes(self) -> Sequence[str]: + return pulumi.get(self, "available_sizes") + + @property + @pulumi.getter(name="defaultSize") + def default_size(self) -> str: + return pulumi.get(self, "default_size") + + @property + @pulumi.getter(name="instanceConfigurationId") + def instance_configuration_id(self) -> str: + return pulumi.get(self, "instance_configuration_id") + + @property + @pulumi.getter(name="instanceConfigurationVersion") + def instance_configuration_version(self) -> float: + return pulumi.get(self, "instance_configuration_version") + + @property + @pulumi.getter(name="sizeResource") + def size_resource(self) -> str: + return pulumi.get(self, "size_resource") + + @pulumi.output_type class GetDeploymentsApmResult(dict): def __init__(__self__, *, diff --git a/sdk/python/pulumi_ec/snapshot_repository.py b/sdk/python/pulumi_ec/snapshot_repository.py index f62d3303..696e9c94 100644 --- a/sdk/python/pulumi_ec/snapshot_repository.py +++ b/sdk/python/pulumi_ec/snapshot_repository.py @@ -139,6 +139,46 @@ def __init__(__self__, > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository. + ## Example Usage + + ### Azure + + + ```python + import pulumi + import json + import pulumi_ec as ec + + this = ec.SnapshotRepository("this", generic=ec.SnapshotRepositoryGenericArgs( + type="azure", + settings=json.dumps({ + "container": "my_container", + "client": "my_alternate_client", + "compress": False, + }), + )) + ``` + + + ### GCS + + + ```python + import pulumi + import json + import pulumi_ec as ec + + this = ec.SnapshotRepository("this", generic=ec.SnapshotRepositoryGenericArgs( + type="gcs", + settings=json.dumps({ + "bucket": "my_bucket", + "client": "my_alternate_client", + "compress": False, + }), + )) + ``` + + ## Import You can import snapshot repositories using the `name`, for example: @@ -164,6 +204,46 @@ def __init__(__self__, > **This resource can only be used with Elastic Cloud Enterprise** For Elastic Cloud SaaS please use the elasticstack_elasticsearch_snapshot_repository. + ## Example Usage + + ### Azure + + + ```python + import pulumi + import json + import pulumi_ec as ec + + this = ec.SnapshotRepository("this", generic=ec.SnapshotRepositoryGenericArgs( + type="azure", + settings=json.dumps({ + "container": "my_container", + "client": "my_alternate_client", + "compress": False, + }), + )) + ``` + + + ### GCS + + + ```python + import pulumi + import json + import pulumi_ec as ec + + this = ec.SnapshotRepository("this", generic=ec.SnapshotRepositoryGenericArgs( + type="gcs", + settings=json.dumps({ + "bucket": "my_bucket", + "client": "my_alternate_client", + "compress": False, + }), + )) + ``` + + ## Import You can import snapshot repositories using the `name`, for example: