共用方式為


TableResource.UpdateAsync(TableData, CancellationToken) Method

Definition

Creates a new table with the specified table name, under the specified account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Storage/storageAccounts/{accountName}/tableServices/default/tables/{tableName}
  • Operation Id: Table_Update
  • Default Api Version: 2023-05-01
  • Resource: TableResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.TableResource>> UpdateAsync (Azure.ResourceManager.Storage.TableData data, System.Threading.CancellationToken cancellationToken = default);
abstract member UpdateAsync : Azure.ResourceManager.Storage.TableData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.TableResource>>
override this.UpdateAsync : Azure.ResourceManager.Storage.TableData * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Storage.TableResource>>
Public Overridable Function UpdateAsync (data As TableData, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of TableResource))

Parameters

data
TableData

The parameters to provide to create a table.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

data is null.

Applies to