你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StorageAccountCredentialsOperationsExtensions.CreateOrUpdateAsync 方法

定义

创建或更新存储帐户凭据。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential> CreateOrUpdateAsync (this Microsoft.Azure.Management.DataBoxEdge.IStorageAccountCredentialsOperations operations, string deviceName, string name, Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential storageAccountCredential, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.DataBoxEdge.IStorageAccountCredentialsOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccountCredential>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IStorageAccountCredentialsOperations, deviceName As String, name As String, storageAccountCredential As StorageAccountCredential, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of StorageAccountCredential)

参数

operations
IStorageAccountCredentialsOperations

此扩展方法的操作组。

deviceName
String

设备名称。

name
String

存储帐户凭据名称。

storageAccountCredential
StorageAccountCredential

存储帐户凭据。

resourceGroupName
String

资源组名称。

cancellationToken
CancellationToken

取消标记。

返回

适用于