pub struct StackImportRequest {Show 17 fields
pub setup_import_format_version: u32,
pub deployment_group_token: String,
pub deployment_name: String,
pub resource_prefix: String,
pub source_kind: Option<ImportSourceKind>,
pub setup_metadata: Option<Value>,
pub release_id: Option<String>,
pub platform: Platform,
pub base_platform: Option<Platform>,
pub region: String,
pub setup_target: String,
pub setup_fingerprint: String,
pub setup_fingerprint_version: u32,
pub stack_settings: StackSettings,
pub management_config: Option<ManagementConfig>,
pub input_values: HashMap<String, Value>,
pub resources: Vec<ImportedResource>,
}Expand description
Request body for manager-side stack import.
Fields§
§setup_import_format_version: u32Wire-format version for the setup import payload.
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.
resource_prefix: StringStable physical-name prefix used by the setup package for generated resources. Runtime controllers use it when addressing imported resources.
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.
setup_metadata: Option<Value>Setup source metadata needed by the control plane to guide privileged teardown. The manager treats this as opaque JSON.
release_id: Option<String>Optional release id that produced the setup package. When omitted, the manager imports against the latest release.
platform: PlatformPlatform being imported.
base_platform: Option<Platform>Optional base cloud platform for Kubernetes setup targets such as EKS/GKE/AKS. The runtime platform remains Kubernetes.
region: StringRegion or location reported by the setup artifact.
setup_target: StringSetup target this package was generated for.
setup_fingerprint: StringSetup compatibility fingerprint embedded in the package.
setup_fingerprint_version: u32Setup fingerprint algorithm version embedded in the package.
stack_settings: StackSettingsResolved stack settings supplied by the setup artifact.
management_config: Option<ManagementConfig>Platform-derived management configuration, when this setup creates a cross-account/cross-tenant management identity.
input_values: HashMap<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.
resources: Vec<ImportedResource>Imported resources with typed per-resource payloads.
Trait Implementations§
Source§impl Clone for StackImportRequest
impl Clone for StackImportRequest
Source§fn clone(&self) -> StackImportRequest
fn clone(&self) -> StackImportRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for StackImportRequest
impl Debug for StackImportRequest
Source§impl<'de> Deserialize<'de> for StackImportRequest
impl<'de> Deserialize<'de> for StackImportRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for StackImportRequest
impl PartialEq for StackImportRequest
Source§fn eq(&self, other: &StackImportRequest) -> bool
fn eq(&self, other: &StackImportRequest) -> bool
self and other values to be equal, and is used by ==.