@pulumi/cloudinit
Version:
A Pulumi package for creating and managing cloudinit cloud resources.
41 lines (40 loc) • 1.26 kB
TypeScript
export interface ConfigPart {
/**
* Body content for the part.
*/
content: string;
/**
* A MIME-style content type to report in the header for the part. Defaults to `text/plain`
*/
contentType: string;
/**
* A filename to report in the header for the part.
*/
filename?: string;
/**
* A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
*/
mergeType?: string;
}
export interface GetConfigPart {
/**
* Body content for the part.
*/
content: string;
/**
* A MIME-style content type to report in the header for the part. Defaults to `text/plain`
*/
contentType?: string;
/**
* A filename to report in the header for the part.
*/
filename?: string;
/**
* A value for the `X-Merge-Type` header of the part, to control [cloud-init merging behavior](https://cloudinit.readthedocs.io/en/latest/reference/merging.html).
*/
mergeType?: string;
}
/**
* getConfigPartProvideDefaults sets the appropriate defaults for GetConfigPart
*/
export declare function getConfigPartProvideDefaults(val: GetConfigPart): GetConfigPart;