@pulumi/cloudinit
Version:
A Pulumi package for creating and managing cloudinit cloud resources.
64 lines (63 loc) • 2.17 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
export interface ConfigPart {
/**
* Body content for the part.
*/
content: pulumi.Input<string>;
/**
* A MIME-style content type to report in the header for the part. Defaults to `text/plain`
*/
contentType?: pulumi.Input<string>;
/**
* A filename to report in the header for the part.
*/
filename?: pulumi.Input<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?: pulumi.Input<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;
export interface GetConfigPartArgs {
/**
* Body content for the part.
*/
content: pulumi.Input<string>;
/**
* A MIME-style content type to report in the header for the part. Defaults to `text/plain`
*/
contentType?: pulumi.Input<string>;
/**
* A filename to report in the header for the part.
*/
filename?: pulumi.Input<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?: pulumi.Input<string>;
}
/**
* getConfigPartArgsProvideDefaults sets the appropriate defaults for GetConfigPartArgs
*/
export declare function getConfigPartArgsProvideDefaults(val: GetConfigPartArgs): GetConfigPartArgs;