Aracılığıyla paylaş


Orders Interface

public interface Orders

Resource collection API of Orders.

Method Summary

Modifier and Type Method and Description
abstract Order createOrUpdate(String deviceName, String resourceGroupName, OrderInner order)

Creates or updates an order.

abstract Order createOrUpdate(String deviceName, String resourceGroupName, OrderInner order, Context context)

Creates or updates an order.

abstract void delete(String deviceName, String resourceGroupName, Context context)

Deletes the order related to the device.

abstract void deleteByResourceGroup(String deviceName, String resourceGroupName)

Deletes the order related to the device.

abstract Order get(String deviceName, String resourceGroupName)

Gets a specific order by name.

abstract Response<Order> getWithResponse(String deviceName, String resourceGroupName, Context context)

Gets a specific order by name.

abstract PagedIterable<Order> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)

Lists all the orders related to a Data Box Edge/Data Box Gateway device.

abstract PagedIterable<Order> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, Context context)

Lists all the orders related to a Data Box Edge/Data Box Gateway device.

Method Details

createOrUpdate

public abstract Order createOrUpdate(String deviceName, String resourceGroupName, OrderInner order)

Creates or updates an order.

Parameters:

deviceName - The order details of a device.
resourceGroupName - The resource group name.
order - The order to be created or updated.

Returns:

the order details.

createOrUpdate

public abstract Order createOrUpdate(String deviceName, String resourceGroupName, OrderInner order, Context context)

Creates or updates an order.

Parameters:

deviceName - The order details of a device.
resourceGroupName - The resource group name.
order - The order to be created or updated.
context - The context to associate with this operation.

Returns:

the order details.

delete

public abstract void delete(String deviceName, String resourceGroupName, Context context)

Deletes the order related to the device.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String deviceName, String resourceGroupName)

Deletes the order related to the device.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.

get

public abstract Order get(String deviceName, String resourceGroupName)

Gets a specific order by name.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.

Returns:

a specific order by name.

getWithResponse

public abstract Response<Order> getWithResponse(String deviceName, String resourceGroupName, Context context)

Gets a specific order by name.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

Returns:

a specific order by name along with Response<T>.

listByDataBoxEdgeDevice

public abstract PagedIterable<Order> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName)

Lists all the orders related to a Data Box Edge/Data Box Gateway device.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.

Returns:

list of order entities as paginated response with PagedIterable<T>.

listByDataBoxEdgeDevice

public abstract PagedIterable<Order> listByDataBoxEdgeDevice(String deviceName, String resourceGroupName, Context context)

Lists all the orders related to a Data Box Edge/Data Box Gateway device.

Parameters:

deviceName - The device name.
resourceGroupName - The resource group name.
context - The context to associate with this operation.

Returns:

list of order entities as paginated response with PagedIterable<T>.

Applies to