Skip to main content

AzureBlobBinaryParameters

@webda/azure


Class: AzureBlobBinaryParameters

Defined in: azure/src/services/blob.service.ts:39

Blob storage settings. Shared keys are optional; managed identity is preferred.

Extends​

  • CloudBinaryParameters

Implements​

Constructors​

Constructor​

new AzureBlobBinaryParameters(): AzureBlobBinaryParameters

Returns​

AzureBlobBinaryParameters

Inherited from​

CloudBinaryParameters.constructor

Properties​

_maxFileSize​

protected _maxFileSize: number

Defined in: core/lib/services/binary.service.d.ts:699

max file size

Inherited from​

CloudBinaryParameters._maxFileSize


_maxUploadSize?​

protected optional _maxUploadSize?: number

Defined in: core/lib/services/binary.service.d.ts:703

Max upload size

Inherited from​

CloudBinaryParameters._maxUploadSize


account?​

optional account?: string

Defined in: azure/src/services/blob.service.ts:43

Account


clientId?​

optional clientId?: string

Defined in: azure/src/services/blob.service.ts:63

Client ID

Implementation of​

AzureServiceParameters.clientId


clientSecret?​

optional clientSecret?: string | SecretString

Defined in: azure/src/services/blob.service.ts:67

Client secret

Implementation of​

AzureServiceParameters.clientSecret


connectionString?​

optional connectionString?: string | SecretString

Defined in: azure/src/services/blob.service.ts:47

Connection string


container​

container: string

Defined in: azure/src/services/blob.service.ts:51

Container


contentStorage?​

optional contentStorage?: object

Defined in: core/lib/services/cloudbinary.d.ts:16

Content storage

default?​

optional default?: boolean

register?​

optional register?: boolean

Inherited from​

CloudBinaryParameters.contentStorage


createContainer​

createContainer: boolean = false

Defined in: azure/src/services/blob.service.ts:75

Create container


endpoint?​

optional endpoint?: string

Defined in: azure/src/services/blob.service.ts:55

Endpoint

Implementation of​

AzureServiceParameters.endpoint


models​

models: object

Defined in: core/lib/services/binary.service.d.ts:717

Define the map of models

  • indicates all models

key is a Store name the string[] represent all valids attributes to store files in * indicates all attributes

Index Signature​

[key: string]: string[]

Inherited from​

CloudBinaryParameters.models


pendingTimeout​

pendingTimeout: number = 3600

Defined in: azure/src/services/blob.service.ts:81

Pending timeout


prefix?​

optional prefix?: string

Defined in: core/lib/services/cloudbinary.d.ts:12

Prefix

Inherited from​

CloudBinaryParameters.prefix


serviceVersion?​

optional serviceVersion?: string

Defined in: azure/src/services/blob.service.ts:77

Override the Blob API/SAS version for older Azurite installations.


subscriptionId?​

optional subscriptionId?: string

Defined in: azure/src/services/blob.service.ts:71

Subscription ID

Implementation of​

AzureServiceParameters.subscriptionId


tenantId?​

optional tenantId?: string

Defined in: azure/src/services/blob.service.ts:59

Tenant ID

Implementation of​

AzureServiceParameters.tenantId


type​

type: string

Defined in: core/lib/services/serviceparameters.d.ts:9

Type of the service

Inherited from​

CloudBinaryParameters.type


urlExpiry​

urlExpiry: number

Defined in: core/lib/services/binary.service.d.ts:709

Lifetime in seconds of the signed URLs

Default​

30

Inherited from​

CloudBinaryParameters.urlExpiry

Accessors​

maxFileSize​

Get Signature​

get maxFileSize(): number

Defined in: core/lib/services/binary.service.d.ts:739

Get the max file size in bytes

Returns​

number

the result number

Set Signature​

set maxFileSize(value): void

Defined in: core/lib/services/binary.service.d.ts:725

Define the maximum filesize to accept as direct upload

Default​
10 MB
Parameters​
value​

string | number

Returns​

void

Inherited from​

CloudBinaryParameters.maxFileSize


maxUploadSize​

Get Signature​

get maxUploadSize(): number | undefined

Defined in: core/lib/services/binary.service.d.ts:730

Maximum size accepted for a direct-to-bucket upload, undefined means no limit

Returns​

number | undefined

the limit in bytes or undefined

Set Signature​

set maxUploadSize(value): void

Defined in: core/lib/services/binary.service.d.ts:734

Maximum size accepted for a direct-to-bucket upload, undefined means no limit

Parameters​
value​

string | number | undefined

Returns​

void

Inherited from​

CloudBinaryParameters.maxUploadSize

Methods​

load()​

load(params?): this

Defined in: azure/src/services/blob.service.ts:87

Perform load.

Parameters​

params?​

any = {}

Returns​

this

Overrides​

CloudBinaryParameters.load


update()​

update(params, delta): this

Defined in: core/lib/application/parameters.d.ts:21

Update parameters and call watchers if a parameter was changed

Parameters​

params​

any

the service parameters

delta​

any

the delta

Returns​

this

this for chaining

Inherited from​

CloudBinaryParameters.update


with()​

with(callback): this

Defined in: core/lib/application/parameters.d.ts:27

Watch for changes on the parameters and call watchers when a parameter is changed

Parameters​

callback​

(params) => void

the callback function

Returns​

this

this for chaining

Inherited from​

CloudBinaryParameters.with