GetFileCrc64Checksum

This data source compute file crc64 checksum.

NOTE: Available in 1.59.0+.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var @default = Output.Create(AliCloud.GetFileCrc64Checksum.InvokeAsync(new AliCloud.GetFileCrc64ChecksumArgs
        {
            Filename = "exampleFileName",
        }));
        this.FileCrc64Checksum = data.Alicloud_file_crc64_checksum.Defualt.Checksum;
    }

    [Output("fileCrc64Checksum")]
    public Output<string> FileCrc64Checksum { get; set; }
}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

default = alicloud.get_file_crc64_checksum(filename="exampleFileName")
pulumi.export("fileCrc64Checksum", data["alicloud..getFileCrc64Checksum"]["defualt"]["checksum"])
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const defaultFileCrc64Checksum = pulumi.output(alicloud.getFileCrc64Checksum({
    filename: "exampleFileName",
}, { async: true }));

export const fileCrc64Checksum = alicloud_file_crc64_checksum_defualt.checksum;

Using GetFileCrc64Checksum

function getFileCrc64Checksum(args: GetFileCrc64ChecksumArgs, opts?: InvokeOptions): Promise<GetFileCrc64ChecksumResult>
function  get_file_crc64_checksum(filename=None, output_file=None, opts=None)
func GetFileCrc64Checksum(ctx *Context, args *GetFileCrc64ChecksumArgs, opts ...InvokeOption) (*GetFileCrc64ChecksumResult, error)
public static class GetFileCrc64Checksum {
    public static Task<GetFileCrc64ChecksumResult> InvokeAsync(GetFileCrc64ChecksumArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Filename string

The name of the file to be computed crc64 checksum.

OutputFile string
Filename string

The name of the file to be computed crc64 checksum.

OutputFile string
filename string

The name of the file to be computed crc64 checksum.

outputFile string
filename str

The name of the file to be computed crc64 checksum.

output_file str

GetFileCrc64Checksum Result

The following output properties are available:

Checksum string

the file checksum of crc64.

Filename string
Id string

The provider-assigned unique ID for this managed resource.

OutputFile string
Checksum string

the file checksum of crc64.

Filename string
Id string

The provider-assigned unique ID for this managed resource.

OutputFile string
checksum string

the file checksum of crc64.

filename string
id string

The provider-assigned unique ID for this managed resource.

outputFile string
checksum str

the file checksum of crc64.

filename str
id str

The provider-assigned unique ID for this managed resource.

output_file str

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.