Learn R Programming

AzureTableStor (version 1.0.0)

storage_table: Operations with azure tables

Description

Operations with azure tables

Usage

storage_table(endpoint, ...)

# S3 method for table_endpoint storage_table(endpoint, name, ...)

list_storage_tables(endpoint, ...)

# S3 method for table_endpoint list_storage_tables(endpoint, ...)

create_storage_table(endpoint, ...)

# S3 method for table_endpoint create_storage_table(endpoint, name, ...)

# S3 method for storage_table create_storage_table(endpoint, ...)

delete_storage_table(endpoint, ...)

# S3 method for table_endpoint delete_storage_table(endpoint, name, confirm = TRUE, ...)

# S3 method for storage_table delete_storage_table(endpoint, ...)

Arguments

endpoint

An object of class table_endpoint or, for create_storage_table.storage_table, an object of class storage_table.

...

Other arguments passed to lower-level functions.

name

The name of a table in a storage account.

confirm

For deleting a table, whether to ask for confirmation.

Value

storage_table and create_storage_table return an object of class storage_table. list_storage_tables returns a list of such objects.

Details

These methods are for accessing and managing tables within a storage account.

See Also

table_endpoint, table_entity

Examples

Run this code
# NOT RUN {
endp <- table_endpoint("https://mystorageacct.table.core.windows.net", key="mykey")

create_storage_table(endp, "mytable")
tab <- storage_table(endp, "mytable2")
create_storage_table(tab)
list_storage_tables(endp)
delete_storage_table(tab)
delete_storage_table(endp, "mytable")

# }

Run the code above in your browser using DataLab