struct AZBlob::Models::BlobDeleteOptions

Defined in:

azblob/models/block_blob.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(delete_snaphots : AZBlob::Models::DeleteSnapshotOption | Nil = nil, delete_type : AZBlob::Models::DeleteType | Nil = nil, snapshot : Nil | String = nil, timeout : Int32 | Nil = nil, version_id : Nil | String = nil) #

[View source]

Instance Method Detail

def delete_snaphots : DeleteSnapshotOption | Nil #

Required if the blob has associated snapshots. Specify one of the following two options: include: Delete the base blob and all of its snapshots. only: Delete only the blob's snapshots and not the blob itself


[View source]
def delete_type : DeleteType | Nil #

Optional. Only possible value is 'permanent', which specifies to permanently delete a blob if blob soft delete is enabled.


[View source]
def snapshot : String | Nil #

The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see Creating a Snapshot of a Blob. [https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob]


[View source]
def timeout : Int32 | Nil #

The timeout parameter is expressed in seconds. For more information, see Setting Timeouts for Blob Service Operations. [https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations]


[View source]
def version_id : String | Nil #

The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer.


[View source]