共用方式為


DevicesOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates a Data Box Edge/Gateway resource.

public static Microsoft.Azure.Management.EdgeGateway.Models.DataBoxEdgeDevice CreateOrUpdate (this Microsoft.Azure.Management.EdgeGateway.IDevicesOperations operations, string deviceName, Microsoft.Azure.Management.EdgeGateway.Models.DataBoxEdgeDevice dataBoxEdgeDevice, string resourceGroupName);
static member CreateOrUpdate : Microsoft.Azure.Management.EdgeGateway.IDevicesOperations * string * Microsoft.Azure.Management.EdgeGateway.Models.DataBoxEdgeDevice * string -> Microsoft.Azure.Management.EdgeGateway.Models.DataBoxEdgeDevice
<Extension()>
Public Function CreateOrUpdate (operations As IDevicesOperations, deviceName As String, dataBoxEdgeDevice As DataBoxEdgeDevice, resourceGroupName As String) As DataBoxEdgeDevice

Parameters

operations
IDevicesOperations

The operations group for this extension method.

deviceName
String

The device name.

dataBoxEdgeDevice
DataBoxEdgeDevice

The resource object.

resourceGroupName
String

The resource group name.

Returns

Applies to