共用方式為


StorageAccountsOperationsExtensions.CreateOrUpdate Method

Definition

Creates a new StorageAccount or updates an existing StorageAccount on the device.

public static Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount CreateOrUpdate (this Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations operations, string deviceName, string storageAccountName, Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount storageAccount, string resourceGroupName);
static member CreateOrUpdate : Microsoft.Azure.Management.DataBoxEdge.IStorageAccountsOperations * string * string * Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount * string -> Microsoft.Azure.Management.DataBoxEdge.Models.StorageAccount
<Extension()>
Public Function CreateOrUpdate (operations As IStorageAccountsOperations, deviceName As String, storageAccountName As String, storageAccount As StorageAccount, resourceGroupName As String) As StorageAccount

Parameters

operations
IStorageAccountsOperations

The operations group for this extension method.

deviceName
String

The device name.

storageAccountName
String

The StorageAccount name.

storageAccount
StorageAccount

The StorageAccount properties.

resourceGroupName
String

The resource group name.

Returns

Applies to