Skip to main content

StorageFile

Resource StorageFile in pulumi-bunnynet.
2 min read

Resource StorageFile in pulumi-bunnynet.

Pulumi type: bunnynet:index/storageFile:StorageFile.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
contentstringnoThe to be stored in the file. Use <code>source</code> to upload files from the local disk.
contentTypestringnoSpecifies the content type of the file.
pathstringyesThe path of the file within the storage zone.
sourcestringnoThe path in the local disk for the file to be uploaded to the storage zone. Use <code>content</code> to define the content directly.
zonenumberyesThe ID of the storage zone where the file is stored.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
checksumstringyesThe SHA-256 hash of the stored file.
contentstringnoThe to be stored in the file. Use <code>source</code> to upload files from the local disk.
contentTypestringnoSpecifies the content type of the file.
dateCreatedstringyesThe date and time when the file was created.
dateModifiedstringyesThe date and time when the file was last modified.
pathstringnoThe path of the file within the storage zone.
sizenumberyesThe size of the file in bytes.
sourcestringnoThe path in the local disk for the file to be uploaded to the storage zone. Use <code>content</code> to define the content directly.
zonenumbernoThe ID of the storage zone where the file is stored.