struct
AZBlob::SignatureValues
- AZBlob::SignatureValues
- Struct
- Value
- Object
Overview
SignatureValues is used to generate a Shared Access Signature (SAS) for an Azure Storage container or blob. For more information on creating service sas, see https://docs.microsoft.com/rest/api/storageservices/constructing-a-service-sas For more information on creating user delegation sas, see https://docs.microsoft.com/rest/api/storageservices/create-user-delegation-sas
Defined in:
azblob/sas/sas.crConstructors
Instance Method Summary
- #authorized_objid : String | Nil
- #blob : String
- #blob_version : String | Nil
- #cache_control : String | Nil
- #clone
- #container : String
- #content_disposition : String | Nil
- #content_encoding : String | Nil
- #content_language : String | Nil
- #content_type : String | Nil
- #copy_with(container _container = @container, permissions _permissions = @permissions, blob _blob = @blob, version _version = @version, protocol _protocol = @protocol, start _start = @start, expiry _expiry = @expiry, snapshot_time _snapshot_time = @snapshot_time, ip_range _ip_range = @ip_range, identifier _identifier = @identifier, directory _directory = @directory, cache_control _cache_control = @cache_control, content_disposition _content_disposition = @content_disposition, content_encoding _content_encoding = @content_encoding, content_language _content_language = @content_language, content_type _content_type = @content_type, blob_version _blob_version = @blob_version, authorized_objid _authorized_objid = @authorized_objid, unauthorized_objid _unauthorized_objid = @unauthorized_objid, correlation_id _correlation_id = @correlation_id, encryption_scope _encryption_scope = @encryption_scope)
- #correlation_id : String | Nil
- #directory : String | Nil
- #encryption_scope : String | Nil
- #expiry : Time::Span
- #identifier : String | Nil
- #ip_range : String | Nil
- #permissions : SasPermissions
- #protocol : String
-
#sign_with_sharedkey(cred : SharedKeyCredential)
uses an account's SharedKeyCredential to sign this signature values to produce the proper SAS query parameters.
- #snapshot_time : Time | Nil
- #start : Time
- #unauthorized_objid : String | Nil
- #version : String
Constructor Detail
def self.new(container : String, permissions : SasPermissions, blob : String = "", version : String = ServiceVersion, protocol : String = "https,http", start : Time = Time.utc, expiry : Time::Span = 1.hour, snapshot_time : Time | Nil = nil, ip_range : String | Nil = nil, identifier : String | Nil = nil, directory : String | Nil = nil, cache_control : String | Nil = nil, content_disposition : String | Nil = nil, content_encoding : String | Nil = nil, content_language : String | Nil = nil, content_type : String | Nil = nil, blob_version : String | Nil = nil, authorized_objid : String | Nil = nil, unauthorized_objid : String | Nil = nil, correlation_id : String | Nil = nil, encryption_scope : String | Nil = nil)
#
Instance Method Detail
def copy_with(container _container = @container, permissions _permissions = @permissions, blob _blob = @blob, version _version = @version, protocol _protocol = @protocol, start _start = @start, expiry _expiry = @expiry, snapshot_time _snapshot_time = @snapshot_time, ip_range _ip_range = @ip_range, identifier _identifier = @identifier, directory _directory = @directory, cache_control _cache_control = @cache_control, content_disposition _content_disposition = @content_disposition, content_encoding _content_encoding = @content_encoding, content_language _content_language = @content_language, content_type _content_type = @content_type, blob_version _blob_version = @blob_version, authorized_objid _authorized_objid = @authorized_objid, unauthorized_objid _unauthorized_objid = @unauthorized_objid, correlation_id _correlation_id = @correlation_id, encryption_scope _encryption_scope = @encryption_scope)
#