FileCreateOptions interface
An interface for options common to every remote operation.
- Extends
Inherited Properties
abort |
|
acl | Optional. POSIX access control rights on files and directories. |
conditions | |
customer |
Customer Provided Key Info. |
encryption |
Optional. Specifies the encryption context to set on the file. |
expires |
Optional. Options for scheduling the deletion of a path. A number value indicates duration before file should be deleted in milliseconds. A Date value indicates the time to set for when the path will be deleted. Does not apply to directories. |
group | Optional. The owning group of the blob or directory. |
lease |
The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease. |
metadata | |
owner | Optional. The owner of the blob or directory. |
path |
|
permissions | |
proposed |
Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats. |
tracing |
|
umask |
Inherited Property Details
abortSignal
acl
Optional. POSIX access control rights on files and directories.
acl?: PathAccessControlItem[]
Property Value
Inherited From PathCreateOptions.acl
conditions
customerProvidedKey
Customer Provided Key Info.
customerProvidedKey?: CpkInfo
Property Value
Inherited From PathCreateOptions.customerProvidedKey
encryptionContext
Optional. Specifies the encryption context to set on the file.
encryptionContext?: string
Property Value
string
Inherited From PathCreateOptions.encryptionContext
expiresOn
Optional. Options for scheduling the deletion of a path. A number value indicates duration before file should be deleted in milliseconds. A Date value indicates the time to set for when the path will be deleted. Does not apply to directories.
expiresOn?: number | Date
Property Value
number | Date
Inherited From PathCreateOptions.expiresOn
group
Optional. The owning group of the blob or directory.
group?: string
Property Value
string
Inherited From PathCreateOptions.group
leaseDuration
The lease duration is required to acquire a lease, and specifies the duration of the lease in seconds. The lease duration must be between 15 and 60 seconds or -1 for infinite lease.
leaseDuration?: number
Property Value
number
Inherited From PathCreateOptions.leaseDuration
metadata
owner
Optional. The owner of the blob or directory.
owner?: string
Property Value
string
Inherited From PathCreateOptions.owner
pathHttpHeaders
pathHttpHeaders?: PathCreateHttpHeaders
Property Value
Inherited From PathCreateOptions.pathHttpHeaders
permissions
proposedLeaseId
Proposed lease ID, in a GUID string format. The Blob service returns 400 (Invalid request) if the proposed lease ID is not in the correct format. See Guid Constructor (String) for a list of valid GUID string formats.
proposedLeaseId?: string
Property Value
string
Inherited From PathCreateOptions.proposedLeaseId
tracingOptions
tracingOptions?: OperationTracingOptions
Property Value
Inherited From PathCreateOptions.tracingOptions