Delen via


EdgeOrderItemCollection Class

Definition

A class representing a collection of EdgeOrderItemResource and their operations. Each EdgeOrderItemResource in the collection will belong to the same instance of ResourceGroupResource. To get an EdgeOrderItemCollection instance call the GetEdgeOrderItems method from an instance of ResourceGroupResource.

public class EdgeOrderItemCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.EdgeOrder.EdgeOrderItemResource>
type EdgeOrderItemCollection = class
    inherit ArmCollection
    interface seq<EdgeOrderItemResource>
    interface IEnumerable
    interface IAsyncEnumerable<EdgeOrderItemResource>
Public Class EdgeOrderItemCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of EdgeOrderItemResource), IEnumerable(Of EdgeOrderItemResource)
Inheritance
EdgeOrderItemCollection
Implements

Constructors

EdgeOrderItemCollection()

Initializes a new instance of the EdgeOrderItemCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, EdgeOrderItemData, CancellationToken)

Creates an order item. Existing order item cannot be updated with this api and should instead be updated with the Update order item API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: CreateOrderItem
CreateOrUpdateAsync(WaitUntil, String, EdgeOrderItemData, CancellationToken)

Creates an order item. Existing order item cannot be updated with this api and should instead be updated with the Update order item API.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: CreateOrderItem
Exists(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
ExistsAsync(String, String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
Get(String, String, CancellationToken)

Gets an order item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
GetAll(String, String, String, CancellationToken)

Lists order item at resource group level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems
  • Operation Id: ListOrderItemsAtResourceGroupLevel
GetAllAsync(String, String, String, CancellationToken)

Lists order item at resource group level.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems
  • Operation Id: ListOrderItemsAtResourceGroupLevel
GetAsync(String, String, CancellationToken)

Gets an order item.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
GetIfExists(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
GetIfExistsAsync(String, String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}
  • Operation Id: GetOrderItemByName
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<EdgeOrderItemResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EdgeOrderItemResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to