pub struct StackImportRequest {Show 18 fields
pub accepts_short_lived_deployment_token: Option<bool>,
pub base_platform: Option<Platform>,
pub deployment_group_token: String,
pub deployment_name: String,
pub input_values: Map<String, Value>,
pub management_config: Option<ManagementConfig>,
pub platform: Platform,
pub region: String,
pub release_id: Option<String>,
pub resource_prefix: String,
pub resources: Vec<ImportedResource>,
pub setup_fingerprint: String,
pub setup_fingerprint_version: i32,
pub setup_import_format_version: i32,
pub setup_metadata: Option<Value>,
pub setup_target: String,
pub source_kind: Option<ImportSourceKind>,
pub stack_settings: StackSettings,
}Expand description
Request body for manager-side stack import.
JSON schema
{
"description": "Request body for manager-side stack import.",
"type": "object",
"required": [
"deploymentGroupToken",
"deploymentName",
"platform",
"region",
"resourcePrefix",
"resources",
"setupFingerprint",
"setupFingerprintVersion",
"setupImportFormatVersion",
"setupTarget",
"stackSettings"
],
"properties": {
"acceptsShortLivedDeploymentToken": {
"description": "Set by a client that can use a short-lived deployment token for this run\nonly and will not store it. Without it, the response carries no new\ntoken for an installation whose Operator already holds its own key.",
"type": "boolean"
},
"basePlatform": {
"description": "Optional base cloud platform for Kubernetes setup targets such as\nEKS/GKE/AKS. The runtime platform remains Kubernetes.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/Platform"
}
]
}
]
},
"deploymentGroupToken": {
"description": "Deployment-group token authorizing the import.",
"type": "string"
},
"deploymentName": {
"description": "User-chosen deployment name. Must be unique within the deployment\ngroup; the manager returns 409 on collision rather than silently\nresolving to an existing deployment. Each setup adapter picks\nthe natural source: CloudFormation defaults to the CFN stack name,\nHelm to `{namespace}/{release}`, Terraform requires an explicit\n`name` attribute on the `alien_deployment` resource.",
"type": "string"
},
"inputValues": {
"description": "Deployer-provided stack input values collected by generated setup\nsurfaces. Platform-backed managers resolve these into runtime\nenvironment variables before deployment creation; standalone managers\naccept the field for setup package compatibility.",
"type": "object",
"additionalProperties": {}
},
"managementConfig": {
"description": "Platform-derived management configuration, when this setup creates a\ncross-account/cross-tenant management identity.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ManagementConfig"
}
]
}
]
},
"platform": {
"$ref": "#/components/schemas/Platform"
},
"region": {
"description": "Region or location reported by the setup artifact.",
"type": "string"
},
"releaseId": {
"description": "Optional release id that produced the setup package. When\nomitted, the manager imports against the latest release.",
"type": [
"string",
"null"
]
},
"resourcePrefix": {
"description": "Stable physical-name prefix used by the setup package for generated\nresources. Runtime controllers use it when addressing imported\nresources.",
"type": "string"
},
"resources": {
"description": "Imported resources with typed per-resource payloads.",
"type": "array",
"items": {
"$ref": "#/components/schemas/ImportedResource"
}
},
"setupFingerprint": {
"description": "Setup compatibility fingerprint embedded in the package.",
"type": "string"
},
"setupFingerprintVersion": {
"description": "Setup fingerprint algorithm version embedded in the package.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"setupImportFormatVersion": {
"description": "Wire-format version for the setup import payload.",
"type": "integer",
"format": "int32",
"minimum": 0.0
},
"setupMetadata": {
"description": "Setup source metadata needed by the control plane to guide privileged\nteardown. The manager treats this as opaque JSON."
},
"setupTarget": {
"description": "Setup target this package was generated for.",
"type": "string"
},
"sourceKind": {
"description": "Optional source label for observability. Does not affect import\nbehavior — the manager dispatches the same `ImporterRegistry`\nregardless of which setup package emitted the payload.",
"oneOf": [
{
"type": "null"
},
{
"allOf": [
{
"$ref": "#/components/schemas/ImportSourceKind"
}
]
}
]
},
"stackSettings": {
"$ref": "#/components/schemas/StackSettings"
}
}
}Fields§
§accepts_short_lived_deployment_token: Option<bool>Set by a client that can use a short-lived deployment token for this run only and will not store it. Without it, the response carries no new token for an installation whose Operator already holds its own key.
base_platform: Option<Platform>Optional base cloud platform for Kubernetes setup targets such as EKS/GKE/AKS. The runtime platform remains Kubernetes.
deployment_group_token: StringDeployment-group token authorizing the import.
deployment_name: StringUser-chosen deployment name. Must be unique within the deployment
group; the manager returns 409 on collision rather than silently
resolving to an existing deployment. Each setup adapter picks
the natural source: CloudFormation defaults to the CFN stack name,
Helm to {namespace}/{release}, Terraform requires an explicit
name attribute on the alien_deployment resource.
input_values: Map<String, Value>Deployer-provided stack input values collected by generated setup surfaces. Platform-backed managers resolve these into runtime environment variables before deployment creation; standalone managers accept the field for setup package compatibility.
management_config: Option<ManagementConfig>Platform-derived management configuration, when this setup creates a cross-account/cross-tenant management identity.
platform: Platform§region: StringRegion or location reported by the setup artifact.
release_id: Option<String>Optional release id that produced the setup package. When omitted, the manager imports against the latest release.
resource_prefix: StringStable physical-name prefix used by the setup package for generated resources. Runtime controllers use it when addressing imported resources.
resources: Vec<ImportedResource>Imported resources with typed per-resource payloads.
setup_fingerprint: StringSetup compatibility fingerprint embedded in the package.
setup_fingerprint_version: i32Setup fingerprint algorithm version embedded in the package.
setup_import_format_version: i32Wire-format version for the setup import payload.
setup_metadata: Option<Value>Setup source metadata needed by the control plane to guide privileged teardown. The manager treats this as opaque JSON.
setup_target: StringSetup target this package was generated for.
source_kind: Option<ImportSourceKind>Optional source label for observability. Does not affect import
behavior — the manager dispatches the same ImporterRegistry
regardless of which setup package emitted the payload.
stack_settings: StackSettings