cloud-provisioning
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCloud Provisioning
云资源配置
Provision and run Elastic Cloud infrastructure through the Cloud API: Serverless projects (create and day-2
operations), traffic filters (network security for those projects), and Elastic Cloud Hosted deployments. For
configuring Cloud authentication and managing organization access, use the cloud-onboarding skill.
<!-- begin-partial: cloud-preamble -->通过Cloud API配置并运行Elastic Cloud基础设施:Serverless项目(创建及日常运维操作)、流量过滤器(这些项目的网络安全)以及Elastic Cloud托管部署。如需配置Cloud身份验证和管理组织访问权限,请使用cloud-onboarding技能。
<!-- begin-partial: cloud-preamble -->Environment Configuration
环境配置
This skill operates the Elastic Cloud control plane through the CLI. If the
CLI is not installed, tell the user what it is needed for. Do
not guess credentials, bypass the CLI to call the HTTP API directly, or attempt other workarounds.
elasticelasticControl-plane operations authenticate against the Elastic Cloud API (organization scope), not a single stack deployment.
The CLI reads this from its active context, which stores an Elastic Cloud API key in the OS keychain. If a
control-plane call fails with an authentication error, the context is missing or lacks a Cloud API key — instruct the
user to add one, and never ask the user to paste an API key into the chat:
elastic"Configure an Elastic Cloud context for theCLI, then re-run. Generate an Organization-level key at Elastic Cloud API keys and register it without echoing the secret in chat."elastic
This skill references control-plane operations in HTTP-shorthand form with the prefix (e.g.,
, ). The
Operations table at the end of this document maps each shorthand to the equivalent
command — always use the CLI rather than calling the HTTP API directly. Discover the organization ID from
; do not ask the user for it.
<!-- end-partial: cloud-preamble -->cloud:GET cloud:/api/v1/organizationsPOST cloud:/api/v1/serverless/projects/elasticsearchelastic cloudGET cloud:/api/v1/organizations本技能通过 CLI操作Elastic Cloud控制平面。如果未安装 CLI,请告知用户其用途。请勿猜测凭据、绕过CLI直接调用HTTP API或尝试其他变通方法。
elasticelastic控制平面操作针对Elastic Cloud API(组织范围)进行身份验证,而非单个堆栈部署。 CLI从其活动上下文读取身份验证信息,该上下文将Elastic Cloud API密钥存储在操作系统密钥链中。如果控制平面调用因身份验证错误失败,说明上下文缺失或缺少Cloud API密钥——请指导用户添加密钥,切勿要求用户在聊天中粘贴API密钥:
elastic“为CLI配置Elastic Cloud上下文,然后重新运行。在Elastic Cloud API密钥生成组织级密钥,并在不泄露密钥的情况下完成注册。”elastic
本技能使用带前缀的HTTP简写形式引用控制平面操作(例如、)。本文档末尾的操作表格将每个简写映射为等效的命令——始终使用CLI而非直接调用HTTP API。通过获取组织ID;请勿向用户索要该ID。
<!-- end-partial: cloud-preamble -->cloud:GET cloud:/api/v1/organizationsPOST cloud:/api/v1/serverless/projects/elasticsearchelastic cloudGET cloud:/api/v1/organizationsCritical principles
核心原则
- Never display secrets in chat. Do not echo, log, or repeat passwords or API keys in conversation or agent thinking. Persist credentials into a CLI context (OS keychain) and direct the user there.
- Confirm before creating or destroying. A project's or deployment's region is permanent; deletion is irreversible. Present the configuration and get explicit confirmation before creating, deleting, or resetting credentials.
- Admin credentials are bootstrap-only. The password returned on creation or reset exists solely to create a scoped API key. Never use admin credentials for ongoing Elasticsearch operations — mint a scoped key first.
admin - Wait for readiness. A new project or deployment starts ; wait until
initializingbefore using it.initialized - Two kinds of credentials. The Cloud context (Cloud API key) authorizes control-plane operations here. A project's or deployment's Elasticsearch API key authorizes data-plane operations against its Elasticsearch endpoint — do not confuse the two. See references/credentials-and-context.md.
- 切勿在聊天中显示机密信息。请勿在对话或Agent思维中回显、记录或重复密码或API密钥。将凭据持久化到CLI上下文(操作系统密钥链)中,并引导用户通过该方式管理。
- 创建或销毁前确认。项目或部署的区域是永久性的;删除操作不可逆转。在创建、删除或重置凭据前,展示配置信息并获取用户明确确认。
- 管理员凭据仅用于初始化。创建或重置时返回的密码仅用于创建范围限定的API密钥。切勿将管理员凭据用于Elasticsearch的日常操作——请先生成范围限定的密钥。
admin - 等待就绪状态。新项目或部署启动时处于状态;需等待至
initializing状态后方可使用。initialized - 两种类型的凭据。Cloud上下文(Cloud API密钥)用于授权此处的控制平面操作。项目或部署的Elasticsearch API密钥用于授权针对其Elasticsearch端点的数据平面操作——请勿混淆两者。请参阅references/credentials-and-context.md。
Serverless projects
Serverless项目
Project types
项目类型
| Type | Description | Included services |
|---|---|---|
| Search, analytics, and vector workloads | Elasticsearch, Kibana |
| Logs, metrics, traces, and APM | Elasticsearch, Kibana, APM, OTLP |
| SIEM, endpoint protection, cloud security | Elasticsearch, Kibana, OTLP |
Map the user's request to the correct type; never silently default — infer from context and confirm, or ask when
ambiguous. "search"/"elasticsearch"/vector search → ; "o11y"/logs/metrics/traces/APM → ;
"SIEM"/detections/endpoint → .
elasticsearchobservabilitysecurityTiers and optimization. Elasticsearch: set to (default) unless the user explicitly
requests . Observability: set to (default) or . Security: set
tiers to (default) or per product line (, , ). See
references/api-reference.md for the full request-body schema of each type.
optimized_forgeneral_purposevectorproduct_tiercompletelogs_essentialsproduct_typescompleteessentialssecuritycloudendpoint| 类型 | 描述 | 包含的服务 |
|---|---|---|
| 搜索、分析和向量工作负载 | Elasticsearch、Kibana |
| 日志、指标、追踪和APM | Elasticsearch、Kibana、APM、OTLP |
| SIEM、终端防护、云安全 | Elasticsearch、Kibana、OTLP |
根据用户请求映射到正确的项目类型;切勿默认选择——从上下文推断并确认,或在模糊时询问用户。“search”/“elasticsearch”/向量搜索 → ;“o11y”/日志/指标/追踪/APM → ;“SIEM”/检测/终端 → 。
elasticsearchobservabilitysecurity层级与优化。Elasticsearch:将设置为(默认值),除非用户明确要求。Observability:将设置为(默认值)或。Security:根据产品线(、、)将层级设置为(默认值)或。有关每种类型的完整请求体架构,请参阅references/api-reference.md。
optimized_forgeneral_purposevectorproduct_tiercompletelogs_essentialssecuritycloudendpointproduct_typescompleteessentialsProcess: create a serverless project
流程:创建Serverless项目
- Confirm the project type. Infer it from the conversation and propose it, or ask the user to choose. Do not proceed on an assumed type.
- Confirm the configuration. Present a summary — name (required; ask if missing), region (default
), and the tier/optimization for the type — and get explicit confirmation. If the region is uncertain, list options with
gcp-us-central1first; only regions withGET cloud:/api/v1/serverless/regionsaccept new projects. Region is permanent.project_creation_enabled: true - Create the project. Call with the confirmed body. Wait for the
POST cloud:/api/v1/serverless/projects/{type}phase and persist the returned credentials into a named CLI context (the password goes to the OS keychain, never to stdout or chat).initialized - Verify readiness. If creation did not block until ready, poll
until
GET cloud:/api/v1/serverless/projects/{type}/{id}/statusisphase. The Elasticsearch and Kibana endpoints in the creation response are safe to share; the password is not.initialized - Bootstrap a scoped API key. Using the project context, create a scoped Elasticsearch API key with only the
privileges the user needs via (the project's Elasticsearch endpoint), then rely on that key for all data-plane work. If the elasticsearch-authn skill is available, use it for full key lifecycle handling.
POST /_security/api_key
- 确认项目类型。从对话中推断并提出建议,或让用户选择。切勿基于假设类型继续操作。
- 确认配置。展示摘要信息——名称(必填;缺失时询问用户)、区域(默认)以及对应类型的层级/优化设置——并获取用户明确确认。如果区域不确定,先通过
gcp-us-central1列出可选区域;仅GET cloud:/api/v1/serverless/regions的区域接受新项目。区域是永久性的。project_creation_enabled: true - 创建项目。使用确认后的请求体调用。等待项目进入
POST cloud:/api/v1/serverless/projects/{type}阶段,并将返回的凭据持久化到命名的CLI上下文(密码存储到操作系统密钥链,绝不要输出到标准输出或聊天中)。initialized - 验证就绪状态。如果创建操作未阻塞至就绪状态,轮询直到
GET cloud:/api/v1/serverless/projects/{type}/{id}/status为phase。创建响应中的Elasticsearch和Kibana端点可以安全共享;密码则不可共享。initialized - 初始化范围限定的API密钥。使用项目上下文,通过(项目的Elasticsearch端点)创建仅包含用户所需权限的范围限定Elasticsearch API密钥,然后依赖该密钥进行所有数据平面操作。如果elasticsearch-authn技能可用,请使用它处理完整的密钥生命周期。
POST /_security/api_key
Workflow: connect to an existing project
工作流:连接到现有项目
Use this when the user asks to query or manage a project not created in the current session. It applies to Elastic
Cloud Serverless projects only — if the cluster is self-managed or Elastic Cloud Hosted, use the Hosted deployment
workflow or skip. If unsure, ask: "Is your Elasticsearch instance an Elastic Cloud Serverless project?"
- Resolve the project. Infer the type and list projects with . Match the user's reference (name or alias). If multiple or none match, present candidates and ask.
GET cloud:/api/v1/serverless/projects/{type} - Load endpoints and credentials. Fetch the project with to get its Elasticsearch and Kibana endpoints, and select or create a CLI context bound to it.
GET cloud:/api/v1/serverless/projects/{type}/{id} - Acquire Elasticsearch credentials. Verify any existing project API key with (expect
GET /_security/_authenticate). If none works, confirm with the user, reset the admin bootstrap credentials with"authentication_type": "api_key", use the admin password once to create a scoped key viaPOST cloud:/api/v1/serverless/projects/{type}/{id}/_reset-credentials, persist it to the context, re-verify, and drop the admin credentials.POST /_security/api_key
当用户要求查询或管理当前会话中未创建的项目时使用此流程。它仅适用于Elastic Cloud Serverless项目——如果集群是自托管或Elastic Cloud托管部署,请使用托管部署工作流或跳过。如果不确定,请询问:“您的Elasticsearch实例是Elastic Cloud Serverless项目吗?”
- 解析项目。推断类型并通过列出项目。匹配用户提到的项目(名称或别名)。如果多个或没有匹配项,展示候选项目并询问用户。
GET cloud:/api/v1/serverless/projects/{type} - 加载端点和凭据。通过获取项目,以获取其Elasticsearch和Kibana端点,并选择或创建绑定到该项目的CLI上下文。
GET cloud:/api/v1/serverless/projects/{type}/{id} - 获取Elasticsearch凭据。通过验证现有项目API密钥(预期返回
GET /_security/_authenticate)。如果没有可用的密钥,与用户确认,通过"authentication_type": "api_key"重置管理员初始化凭据,使用管理员密码通过POST cloud:/api/v1/serverless/projects/{type}/{id}/_reset-credentials创建范围限定的密钥,将其持久化到上下文,重新验证,然后丢弃管理员凭据。POST /_security/api_key
Day-2: list, get, update, delete, resume
日常运维:列出、获取、更新、删除、恢复
- List projects of a type: .
GET cloud:/api/v1/serverless/projects/{type} - Get one project: .
GET cloud:/api/v1/serverless/projects/{type}/{id} - Update (PATCH semantics — only supplied fields change): .
PATCH cloud:/api/v1/serverless/projects/{type}/{id} - Reset credentials (confirm first): .
POST cloud:/api/v1/serverless/projects/{type}/{id}/_reset-credentials - Delete (confirm first — permanent): .
DELETE cloud:/api/v1/serverless/projects/{type}/{id} - Resume a suspended project, then poll status until :
initialized.POST cloud:/api/v1/serverless/projects/{type}/{id}/_resume
Update fields and their risks. Supported PATCH fields: , , , , and —
for Elasticsearch — (28–3000) and (1–180 days); for Security —
data-retention limits.
namealiasmetadata.tagstraffic_filterssearch_lake.search_powersearch_lake.boost_window- Alias changes rewrite every endpoint URL, breaking existing clients. Warn before changing it.
- Tags replace the whole tag set. Read current tags with a first and include any the user wants to keep.
GET - drives cost. Higher values increase VCU consumption. Warn and confirm before raising it (presets: 28 on-demand, 100 performant, 250 high availability).
search_power - Reducing max retention permanently deletes data older than the new limit. Warn and confirm before lowering it.
- 列出指定类型的项目:。
GET cloud:/api/v1/serverless/projects/{type} - 获取单个项目:。
GET cloud:/api/v1/serverless/projects/{type}/{id} - 更新(PATCH语义——仅更改提供的字段):。
PATCH cloud:/api/v1/serverless/projects/{type}/{id} - 重置凭据(先确认):。
POST cloud:/api/v1/serverless/projects/{type}/{id}/_reset-credentials - 删除(先确认——永久性操作):。
DELETE cloud:/api/v1/serverless/projects/{type}/{id} - 恢复已暂停的项目,然后轮询状态直到:
initialized。POST cloud:/api/v1/serverless/projects/{type}/{id}/_resume
可更新字段及其风险。支持的PATCH字段:、、、,以及——对于Elasticsearch——(28–3000)和(1–180天);对于Security——数据保留限制。
namealiasmetadata.tagstraffic_filterssearch_lake.search_powersearch_lake.boost_window- 别名更改会重写所有端点URL,导致现有客户端无法正常工作。更改前需发出警告。
- 标签会替换整个标签集。先通过读取当前标签,包含用户希望保留的所有标签。
GET - 影响成本。值越高,VCU消耗越多。提升前需发出警告并确认(预设值:28按需型、100高性能型、250高可用型)。
search_power - 降低最大保留期限会永久删除超过新限制的旧数据。降低前需发出警告并确认。
Traffic filters (network security)
流量过滤器(网络安全)
Traffic filters restrict network access to Serverless projects. The Elastic Cloud UI calls this network security;
the Cloud API uses traffic filters ( in paths, in project JSON). The two types
are IP filters (type , allowlist IPs/CIDRs) and VPC filters (type , AWS PrivateLink endpoint IDs).
traffic-filterstraffic_filtersipvpcePrivate connectivity in AWS is accepted by default. A VPC filter is only needed to restrict traffic to specific endpoint IDs. If you only need private connectivity (not filtering), create the VPC endpoint and DNS record in AWS — no filter is required. Useto look up the PrivateLink service name for a region before creating the endpoint in AWS.GET cloud:/api/v1/serverless/traffic-filters/metadata
流量过滤器用于限制对Serverless项目的网络访问。Elastic Cloud UI将其称为网络安全;Cloud API使用traffic filters(路径中为,项目JSON中为)。两种类型分别是IP过滤器(类型,允许IP/CIDR白名单)和VPC过滤器(类型,AWS PrivateLink端点ID)。
traffic-filterstraffic_filtersipvpceAWS中的私有连接默认是被接受的。仅当需要限制流量到特定端点ID时才需要VPC过滤器。如果仅需要私有连接(而非过滤),在AWS中创建VPC端点和DNS记录即可——无需过滤器。创建AWS中的端点前,使用查找对应区域的PrivateLink服务名称。GET cloud:/api/v1/serverless/traffic-filters/metadata
Process: create and attach a filter
流程:创建并附加过滤器
- Identify components. Filter type (IP vs VPC), target region, source rules (IPs/CIDRs or VPC endpoint IDs), and which projects the filter should apply to.
- Check existing state. List current filters with (optionally scoped by region). If a filter already covers the same sources for the same purpose, reuse it — filters are region-scoped and can attach to many projects.
GET cloud:/api/v1/serverless/traffic-filters - Create the filter. Call with the
POST cloud:/api/v1/serverless/traffic-filters,type, andregion. The response contains the generated filterrules.id - Associate with projects. Filter-to-project association is done through the project PATCH endpoint
(with a
PATCH cloud:/api/v1/serverless/projects/{type}/{id}array). Provide the complete list of filter IDs; any ID omitted is disassociated.traffic_filters - Verify. List filters again or the project to confirm the change took effect.
GET
Filter guidance: filters are region-scoped (a filter can only attach to projects in its region). Updating rules
replaces the entire rule set — include all existing rules plus the new one. A filter cannot be deleted while still
associated with a project — disassociate first, then .
auto-attaches a filter to all new projects in the region — use with caution. See
references/traffic-filters.md for the full schemas.
DELETE cloud:/api/v1/serverless/traffic-filters/{id}include_by_default- 确定组件。过滤器类型(IP或VPC)、目标区域、源规则(IP/CIDR或VPC端点ID)以及过滤器应应用到的项目。
- 检查现有状态。通过列出当前过滤器(可按区域范围筛选)。如果已有过滤器针对相同用途覆盖相同源,可复用该过滤器——过滤器是区域范围的,可附加到多个项目。
GET cloud:/api/v1/serverless/traffic-filters - 创建过滤器。使用、
type和region调用rules。响应包含生成的过滤器POST cloud:/api/v1/serverless/traffic-filters。id - 关联到项目。过滤器与项目的关联通过项目PATCH端点完成(,携带
PATCH cloud:/api/v1/serverless/projects/{type}/{id}数组)。提供完整的过滤器ID列表;任何被省略的ID都会被解除关联。traffic_filters - 验证。再次列出过滤器或通过获取项目信息,确认更改已生效。
GET
过滤器指南:过滤器是区域范围的(过滤器只能附加到同一区域的项目)。更新规则会替换整个规则集——需包含所有现有规则和新规则。过滤器在仍关联到项目时无法删除——先解除关联,然后调用。会自动将过滤器附加到该区域的所有新项目——请谨慎使用。有关完整架构,请参阅references/traffic-filters.md。
DELETE cloud:/api/v1/serverless/traffic-filters/{id}include_by_defaultHosted deployments
托管部署
Elastic Cloud Hosted deployments are full stack deployments (Elasticsearch, Kibana, and optional APM/Integrations
Server/Enterprise Search) sized from a deployment template, distinct from Serverless projects. Manage their lifecycle
through the Cloud API's deployment endpoints.
Elastic Cloud托管部署是全栈部署(Elasticsearch、Kibana,以及可选的APM/集成服务器/企业搜索),根据部署模板调整规模,与Serverless项目不同。通过Cloud API的部署端点管理其生命周期。
Process: create a hosted deployment
流程:创建托管部署
- Choose a region and template. List deployment templates with for the target region and confirm the template and stack version with the user. Region is permanent.
GET cloud:/api/v1/deployments/templates - Confirm the configuration (name, region, template, version, sizing) and get explicit confirmation before creating.
- Create the deployment. Call with the resource definition (or a
POST cloud:/api/v1/deployments). The response returns the deployment ID and a one-timetemplate_iduser password and endpoints — persist the credentials into a CLI context (keychain), never to chat.elastic - Verify readiness and bootstrap a scoped key. Poll until healthy, then mint a scoped Elasticsearch API key via
GET cloud:/api/v1/deployments/{id}and stop using the bootstrapPOST /_security/api_keypassword. See references/hosted-deployments.md for the create body and template schema.elastic
- 选择区域和模板。通过列出目标区域的部署模板,并与用户确认模板和堆栈版本。区域是永久性的。
GET cloud:/api/v1/deployments/templates - 确认配置(名称、区域、模板、版本、规模),并在创建前获取用户明确确认。
- 创建部署。使用资源定义(或)调用
template_id。响应返回部署ID和一次性POST cloud:/api/v1/deployments用户密码及端点——将凭据持久化到CLI上下文(密钥链),绝不要发送到聊天中。elastic - 验证就绪状态并初始化范围限定密钥。轮询直到部署健康,然后通过
GET cloud:/api/v1/deployments/{id}生成范围限定的Elasticsearch API密钥,停止使用初始化的POST /_security/api_key密码。有关创建请求体和模板架构,请参阅references/hosted-deployments.md。elastic
Day-2: get, update, shut down, restore
日常运维:获取、更新、关闭、恢复
- List deployments: .
GET cloud:/api/v1/deployments - Get one deployment: .
GET cloud:/api/v1/deployments/{id} - Update (resize, upgrade version, change resources): .
PUT cloud:/api/v1/deployments/{id} - Shut down (confirm first — stops the deployment): .
POST cloud:/api/v1/deployments/{id}/_shutdown - Restore a shut-down deployment: .
POST cloud:/api/v1/deployments/{id}/_restore
Hosted deployments use their own traffic-filter rulesets, managed separately from the Serverless traffic filters
above — do not mix the two. See references/hosted-deployments.md.
- 列出部署:。
GET cloud:/api/v1/deployments - 获取单个部署:。
GET cloud:/api/v1/deployments/{id} - 更新(调整规模、升级版本、更改资源):。
PUT cloud:/api/v1/deployments/{id} - 关闭(先确认——停止部署):。
POST cloud:/api/v1/deployments/{id}/_shutdown - 恢复已关闭的部署:。
POST cloud:/api/v1/deployments/{id}/_restore
托管部署使用独立的流量过滤器规则集,与上述Serverless流量过滤器分开管理——请勿混淆两者。请参阅references/hosted-deployments.md。
Examples
示例
"Create a search project called acme-search" — confirm type , present the summary (name
, region , ), and on confirmation call
, wait for , persist credentials, then create a
scoped API key with .
elasticsearchacme-searchgcp-us-central1optimized_for general_purposePOST cloud:/api/v1/serverless/projects/elasticsearchinitializedPOST /_security/api_key"List my security projects" — call and present the names and IDs;
treat it as a read-only day-2 request.
GET cloud:/api/v1/serverless/projects/security"Connect to my search project prod-search" — list Elasticsearch projects, match , it for
endpoints, then verify or mint a scoped Elasticsearch API key before any data-plane work.
prod-searchGET"Bump search power to 500 on my search project" — warn about the cost increase, confirm, then
with .
PATCH cloud:/api/v1/serverless/projects/elasticsearch/{id}search_lake.search_power = 500"Only allow our office network 203.0.113.0/24 to projects in us-east-1" — list existing filters for ,
create an filter with (rule source ), then attach
the filter ID to the target projects via .
us-east-1ipPOST cloud:/api/v1/serverless/traffic-filters203.0.113.0/24PATCH cloud:/api/v1/serverless/projects/{type}/{id}"Spin up a hosted deployment in us-east-1" — list templates with , confirm
the template and stack version, then , wait until healthy, and mint a scoped API key.
GET cloud:/api/v1/deployments/templatesPOST cloud:/api/v1/deployments“创建名为acme-search的搜索项目”——确认类型为,展示摘要信息(名称、区域、),确认后调用,等待至状态,持久化凭据,然后通过创建范围限定的API密钥。
elasticsearchacme-searchgcp-us-central1optimized_for general_purposePOST cloud:/api/v1/serverless/projects/elasticsearchinitializedPOST /_security/api_key“列出我的安全项目”——调用并展示名称和ID;将其视为只读的日常运维请求。
GET cloud:/api/v1/serverless/projects/security“连接到我的搜索项目prod-search”——列出Elasticsearch项目,匹配,通过获取其端点,然后在进行任何数据平面操作前验证或生成范围限定的Elasticsearch API密钥。
prod-searchGET“将我的搜索项目的搜索能力提升至500”——警告用户成本会增加,确认后调用,设置。
PATCH cloud:/api/v1/serverless/projects/elasticsearch/{id}search_lake.search_power = 500“仅允许我们的办公网络203.0.113.0/24访问us-east-1区域的项目”——列出us-east-1区域的现有过滤器,通过创建过滤器(规则源),然后通过将过滤器ID附加到目标项目。
POST cloud:/api/v1/serverless/traffic-filtersip203.0.113.0/24PATCH cloud:/api/v1/serverless/projects/{type}/{id}“在us-east-1区域创建一个托管部署”——通过列出模板,确认模板和堆栈版本,然后调用,等待至健康状态,生成范围限定的API密钥。
GET cloud:/api/v1/deployments/templatesPOST cloud:/api/v1/deploymentsGuidelines
指南
- Validate the Cloud context first (see Environment Configuration); use cloud-onboarding to configure it when validation fails.
- Never display passwords or API keys in chat — persist them to a CLI context (OS keychain), and mint a scoped API key instead of relying on bootstrap admin credentials.
- Never silently default a project type; infer and confirm. Default to optimization and the
general_purposetier; only change on explicit request.complete - Region cannot be changed after creation, and deletion/shutdown is permanent — confirm before proceeding.
- Traffic filters are region-scoped; updating rules replaces the whole set; disassociate a filter from all projects before deleting it.
- Keep Serverless traffic filters and Hosted deployment traffic-filter rulesets separate — they are different APIs.
- For granting user access and Cloud API keys, see cloud-onboarding; for Elasticsearch data-plane key lifecycle, see elasticsearch-authn.
- 首先验证Cloud上下文(请参阅环境配置);验证失败时使用cloud-onboarding技能进行配置。
- 切勿在聊天中显示密码或API密钥——将其持久化到CLI上下文(操作系统密钥链),并生成范围限定的API密钥,而非依赖初始化的管理员凭据。
- 切勿默认选择项目类型;推断后需确认。默认使用优化和
general_purpose层级;仅在用户明确要求时更改。complete - 创建后无法更改区域,删除/关闭操作是永久性的——操作前需确认。
- 流量过滤器是区域范围的;更新规则会替换整个规则集;删除过滤器前需先解除与所有项目的关联。
- 将Serverless流量过滤器和托管部署流量过滤器规则集分开——它们是不同的API。
- 有关授予用户访问权限和Cloud API密钥的内容,请参阅cloud-onboarding;有关Elasticsearch数据平面密钥生命周期的内容,请参阅elasticsearch-authn。
Operations
操作
| HTTP API (shorthand) | |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Use the matching / commands for observability and security project
types.
projects observability …projects security …| HTTP API(简写) | |
|---|---|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
对于observability和security类型的项目,使用对应的 / 命令。
projects observability …projects security …