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 a 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

Name Description
EdgeOrderItemCollection()

Initializes a new instance of EdgeOrderItemCollection for mocking.

Properties

Name Description
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

Name Description
CreateOrUpdate(WaitUntil, String, EdgeOrderItemData, CancellationToken)

Create 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. : OrderItemResources_Create.
  • Default Api Version. : 2024-02-01.
CreateOrUpdateAsync(WaitUntil, String, EdgeOrderItemData, CancellationToken)

Create 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. : OrderItemResources_Create.
  • Default Api Version. : 2024-02-01.
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. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
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. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
Get(String, String, CancellationToken)

Get an order item.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}.
  • Operation Id. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
GetAll(String, String, String, Nullable<Int32>, CancellationToken)

List order items at resource group level.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems.
  • Operation Id. : OrderItemResources_ListByResourceGroup.
  • Default Api Version. : 2024-02-01.
GetAllAsync(String, String, String, Nullable<Int32>, CancellationToken)

List order items at resource group level.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems.
  • Operation Id. : OrderItemResources_ListByResourceGroup.
  • Default Api Version. : 2024-02-01.
GetAsync(String, String, CancellationToken)

Get an order item.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EdgeOrder/orderItems/{orderItemName}.
  • Operation Id. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
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. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
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. : OrderItemResources_Get.
  • Default Api Version. : 2024-02-01.
TryGetApiVersion(ResourceType, String)

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

(Inherited from ArmCollection)

Explicit Interface Implementations

Name Description
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.

Extension Methods

Name Description
ArrayContainsAll<T>(IEnumerable<T>, Object[])

Returns whether all values are present in the array.

ArrayContainsAny<T>(IEnumerable<T>, Object[])

Returns whether any values are present in the array.

Applies to