pub struct StackImportRequest {Show 16 fields
pub base_platform: Option<Platform>,
pub deployment_group_token: String,
pub deployment_name: String,
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": {
"basePlatform": {
"$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"
},
"managementConfig": {
"$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": {
"$ref": "#/components/schemas/ImportSourceKind"
},
"stackSettings": {
"$ref": "#/components/schemas/StackSettings"
}
}
}Fields§
§base_platform: Option<Platform>§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.
management_config: Option<ManagementConfig>§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>§stack_settings: StackSettingsImplementations§
Source§impl StackImportRequest
impl StackImportRequest
pub fn builder() -> StackImportRequest
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 more