C# Class Microsoft.WindowsAzure.Commands.Storage.Model.Contract.StorageTableManagement

Storage table management
Inheritance: IStorageTableManagement
ファイルを表示 Open project: Azure/azure-powershell

Public Methods

Method Description
CreateTableIfNotExists ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool

Cloud a azure storage table if not exists.

Delete ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : void

Delete the specified azure storage table

DoesTableExist ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool

Checks whether the table exists.

GetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.TablePermissions

Get table permission

GetTablePermissionsAsync ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Task

Return a task that asynchronously fetch table permissions

GetTableReference ( string name ) : Microsoft.WindowsAzure.Storage.Table.CloudTable

Get a table reference

ListTables ( string prefix, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : IEnumerable

List azure storage tables

SetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TablePermissions tablePermissions, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : void

Set table permission

SetTablePermissionsAsync ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TablePermissions tablePermissions, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : System.Threading.Tasks.Task

Return a task that asynchronously set table permissions

StorageTableManagement ( AzureStorageContext context ) : Microsoft.WindowsAzure.Commands.Common.Storage

Storage table management constructor

Method Details

CreateTableIfNotExists() public method

Cloud a azure storage table if not exists.
public CreateTableIfNotExists ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return bool

Delete() public method

Delete the specified azure storage table
public Delete ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : void
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return void

DoesTableExist() public method

Checks whether the table exists.
public DoesTableExist ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : bool
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return bool

GetTablePermissions() public method

Get table permission
public GetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Microsoft.WindowsAzure.Storage.Table.TablePermissions
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return Microsoft.WindowsAzure.Storage.Table.TablePermissions

GetTablePermissionsAsync() public method

Return a task that asynchronously fetch table permissions
public GetTablePermissionsAsync ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : Task
table Microsoft.WindowsAzure.Storage.Table.CloudTable target table
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext context
return Task

GetTableReference() public method

Get a table reference
public GetTableReference ( string name ) : Microsoft.WindowsAzure.Storage.Table.CloudTable
name string Table name
return Microsoft.WindowsAzure.Storage.Table.CloudTable

ListTables() public method

List azure storage tables
public ListTables ( string prefix, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : IEnumerable
prefix string Table name prefix
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return IEnumerable

SetTablePermissions() public method

Set table permission
public SetTablePermissions ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TablePermissions tablePermissions, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : void
table Microsoft.WindowsAzure.Storage.Table.CloudTable Cloud table object
tablePermissions Microsoft.WindowsAzure.Storage.Table.TablePermissions table permissions
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions Table request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext Operation context
return void

SetTablePermissionsAsync() public method

Return a task that asynchronously set table permissions
public SetTablePermissionsAsync ( Microsoft.WindowsAzure.Storage.Table.CloudTable table, Microsoft.WindowsAzure.Storage.Table.TablePermissions tablePermissions, Microsoft.WindowsAzure.Storage.Table.TableRequestOptions requestOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext ) : System.Threading.Tasks.Task
table Microsoft.WindowsAzure.Storage.Table.CloudTable target table
tablePermissions Microsoft.WindowsAzure.Storage.Table.TablePermissions permissions to set
requestOptions Microsoft.WindowsAzure.Storage.Table.TableRequestOptions request options
operationContext Microsoft.WindowsAzure.Storage.OperationContext context
return System.Threading.Tasks.Task

StorageTableManagement() public method

Storage table management constructor
public StorageTableManagement ( AzureStorageContext context ) : Microsoft.WindowsAzure.Commands.Common.Storage
context Microsoft.WindowsAzure.Commands.Common.Storage.AzureStorageContext
return Microsoft.WindowsAzure.Commands.Common.Storage