Viewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
HTML/CSS to ImageViewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
List versions of an existing template, newest first, up to limit (default 1000). Requires templates:read. The provider follows API pagination automatically and preserves exact integer version identifiers.
Example Usage
data "htmlcsstoimage_template_versions" "card" {
id = "t-YOUR_TEMPLATE_ID"
limit = 10
}
output "available_versions" {
value = data.htmlcsstoimage_template_versions.card.versions[*].version
}
Using getTemplateVersions
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTemplateVersions(args: GetTemplateVersionsArgs, opts?: InvokeOptions): Promise<GetTemplateVersionsResult>
function getTemplateVersionsOutput(args: GetTemplateVersionsOutputArgs, opts?: InvokeOutputOptions): Output<GetTemplateVersionsResult>def get_template_versions(id: Optional[str] = None,
limit: Optional[int] = None,
opts: Optional[InvokeOptions] = None) -> GetTemplateVersionsResult
def get_template_versions_output(id: pulumi.Input[Optional[str]] = None,
limit: pulumi.Input[Optional[int]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetTemplateVersionsResult]func GetTemplateVersions(ctx *Context, args *GetTemplateVersionsArgs, opts ...InvokeOption) (*GetTemplateVersionsResult, error)
func GetTemplateVersionsOutput(ctx *Context, args *GetTemplateVersionsOutputArgs, opts ...InvokeOption) GetTemplateVersionsResultOutput> Note: This function is named GetTemplateVersions in the Go SDK.
public static class GetTemplateVersions
{
public static Task<GetTemplateVersionsResult> InvokeAsync(GetTemplateVersionsArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateVersionsResult> Invoke(GetTemplateVersionsInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetTemplateVersionsResult> Invoke(GetTemplateVersionsInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetTemplateVersionsResult> getTemplateVersions(GetTemplateVersionsArgs args, InvokeOptions options)
public static Output<GetTemplateVersionsResult> getTemplateVersions(GetTemplateVersionsArgs args, InvokeOptions options)
public static Output<GetTemplateVersionsResult> getTemplateVersions(GetTemplateVersionsArgs args, InvokeOutputOptions options)
fn::invoke:
function: html-css-to-image:getTemplateVersions
arguments:
# arguments dictionarydata "html-css-to-image_get_template_versions" "name" {
# arguments
}The following arguments are supported:
getTemplateVersions Result
The following output properties are available:
- Id string
- Limit int
- Versions
[]Get
Template Versions Version
- id string
- limit number
- versions list(object)
- id String
- limit Integer
- versions
List<Get
Template Versions Version>
- id string
- limit number
- versions
Get
Template Versions Version[]
- id String
- limit Number
- versions List<Property Map>
Supporting Types
GetTemplateVersionsVersion
- Created
At string - Creation timestamp returned by the API.
- Description string
- Template description for this version.
- Name string
- Template display name for this version.
- Template
Type string - Template type returned by the API.
- Updated
At string - Update timestamp returned by the API.
- Version string
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- Created
At string - Creation timestamp returned by the API.
- Description string
- Template description for this version.
- Name string
- Template display name for this version.
- Template
Type string - Template type returned by the API.
- Updated
At string - Update timestamp returned by the API.
- Version string
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- created_
at string - Creation timestamp returned by the API.
- description string
- Template description for this version.
- name string
- Template display name for this version.
- template_
type string - Template type returned by the API.
- updated_
at string - Update timestamp returned by the API.
- version string
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- created
At String - Creation timestamp returned by the API.
- description String
- Template description for this version.
- name String
- Template display name for this version.
- template
Type String - Template type returned by the API.
- updated
At String - Update timestamp returned by the API.
- version String
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- created
At string - Creation timestamp returned by the API.
- description string
- Template description for this version.
- name string
- Template display name for this version.
- template
Type string - Template type returned by the API.
- updated
At string - Update timestamp returned by the API.
- version string
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- created_
at str - Creation timestamp returned by the API.
- description str
- Template description for this version.
- name str
- Template display name for this version.
- template_
type str - Template type returned by the API.
- updated_
at str - Update timestamp returned by the API.
- version str
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
- created
At String - Creation timestamp returned by the API.
- description String
- Template description for this version.
- name String
- Template display name for this version.
- template
Type String - Template type returned by the API.
- updated
At String - Update timestamp returned by the API.
- version String
- Exact template version identifier. Represented as a decimal string to preserve int64 precision.
Package Details
- Repository
- html-css-to-image htmlcsstoimage/pulumi-html-css-to-image
- License
- MIT
- Notes
- This Pulumi package is based on the
html-css-to-imageTerraform Provider.
HTML/CSS to ImageViewing docs for HTML/CSS to Image v0.2.0
published on Tuesday, Sep 29, 2026 by htmlcsstoimage
published on Tuesday, Sep 29, 2026 by htmlcsstoimage