packer-cn/website/content/partials/post-processor/alicloud-import/Config-not-required.mdx

36 lines
1.7 KiB
Plaintext

<!-- Code generated from the comments of the Config struct in post-processor/alicloud-import/post-processor.go; DO NOT EDIT MANUALLY -->
- `oss_key_name` (string) - The name of the object key in `oss_bucket_name` where the RAW or VHD
file will be copied to for import. This is treated as a [template
engine](/docs/templates/legacy_json_templates/engine), and you may access any of the variables
stored in the generated data using the [build](/docs/templates/legacy_json_templates/engine)
template function.
- `skip_clean` (bool) - Whether we should skip removing the RAW or VHD file uploaded to OSS
after the import process has completed. `true` means that we should
leave it in the OSS bucket, `false` means to clean it out. Defaults to
`false`.
- `tags` (map[string]string) - Tags
- `image_description` (string) - The description of the image, with a length limit of `0` to `256`
characters. Leaving it blank means null, which is the default value. It
cannot begin with `http://` or `https://`.
- `image_share_account` ([]string) - Alicloud Image Share Accounts
- `image_copy_regions` ([]string) - Alicloud Image Destination Regions
- `image_system_size` (string) - Size of the system disk, in GB, values
range:
- cloud - 5 \~ 2000
- cloud_efficiency - 20 \~ 2048
- cloud_ssd - 20 \~ 2048
- `image_force_delete` (bool) - If this value is true, when the target image name is duplicated with an
existing image, it will delete the existing image and then create the
target image, otherwise, the creation will fail. The default value is
false.
<!-- End of code generated from the comments of the Config struct in post-processor/alicloud-import/post-processor.go; -->