# Azure Blob Storage

> Manage Azure containers and text blobs, preserve metadata and take blob snapshots.

App · 16 actions. Web page: https://docs.lodol.com/docs/integrations/azure-blob-storage

## Actions

### Create blob snapshot

Create blob snapshot. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Create container

Create container. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Delete blob

Delete blob. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.
- Delete snapshots (`delete_snapshots`, text): Delete snapshots. One of: `include`, `only`.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Delete container

Delete container. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Download text blob

Download a UTF-8 text blob of up to 10 MiB. Use Azure Storage for binary files or larger downloads.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "content": "example",
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get account information

Get account information. Returns the service response.

**Inputs**: None.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get blob metadata

Get blob metadata. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get blob properties

Get blob properties. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get container metadata

Get container metadata. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get container properties

Get container properties. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Get service properties

Get service properties. Returns the service response.

**Inputs**: None.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {},
    "xml": "<StorageServiceProperties />"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List blobs

List blobs. Returns one page; use the next page cursor to continue.

**Inputs**

- Container (`container`, text, required): Container.
- Prefix (`prefix`, text): Prefix.
- Marker (`marker`, text): Marker.
- Page size (`maxresults`, number): Maxresults. From 1 to 5000.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextMarker": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### List containers

List containers. Returns one page; use the next page cursor to continue.

**Inputs**

- Prefix (`prefix`, text): Prefix.
- Marker (`marker`, text): Marker.
- Page size (`maxresults`, number): Maxresults. From 1 to 5000.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "items": [],
    "nextMarker": "example"
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Set blob metadata

Add or change metadata keys. Reads and preserves other metadata keys; an empty value sets an empty value.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.
- Metadata (`metadata`, object, required): Metadata.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Set container metadata

Add or change metadata keys. Reads and preserves other metadata keys; an empty value sets an empty value.

**Inputs**

- Container (`container`, text, required): Container.
- Metadata (`metadata`, object, required): Metadata.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```

### Upload text blob

Upload text blob. Returns the service response.

**Inputs**

- Container (`container`, text, required): Container.
- Blob (`blob`, text, required): Blob.
- Content (`content`, text, required): Content.
- Content type (`content_type`, text): Content type.

**Outputs**

- `data` (object): The complete service response.
- `has_more` (true/false): Whether another page is available.
- `next_cursor` (text): Pass this value to the next page cursor.

**Example output**

```json
{
  "data": {
    "properties": {}
  },
  "has_more": false,
  "next_cursor": "example"
}
```
