Поделиться через


EdgeActionVersionCollection Class

Definition

A class representing a collection of EdgeActionVersionResource and their operations. Each EdgeActionVersionResource in the collection will belong to the same instance of EdgeActionResource. To get a EdgeActionVersionCollection instance call the GetEdgeActionVersions method from an instance of EdgeActionResource.

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

Constructors

Name Description
EdgeActionVersionCollection()

Initializes a new instance of EdgeActionVersionCollection 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, EdgeActionVersionData, CancellationToken)

Create a EdgeActionVersion

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Create.
  • Default Api Version. : 2025-09-01-preview.
CreateOrUpdateAsync(WaitUntil, String, EdgeActionVersionData, CancellationToken)

Create a EdgeActionVersion

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Create.
  • Default Api Version. : 2025-09-01-preview.
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
Get(String, CancellationToken)

Get a EdgeActionVersion

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
GetAll(CancellationToken)

List EdgeActionVersion resources by EdgeAction

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions.
  • Operation Id. : EdgeActionVersions_ListByEdgeAction.
  • Default Api Version. : 2025-09-01-preview.
GetAllAsync(CancellationToken)

List EdgeActionVersion resources by EdgeAction

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions.
  • Operation Id. : EdgeActionVersions_ListByEdgeAction.
  • Default Api Version. : 2025-09-01-preview.
GetAsync(String, CancellationToken)

Get a EdgeActionVersion

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path. : /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/edgeActions/{edgeActionName}/versions/{version}.
  • Operation Id. : EdgeActionVersions_Get.
  • Default Api Version. : 2025-09-01-preview.
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<EdgeActionVersionResource>.GetAsyncEnumerator(CancellationToken)
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<EdgeActionVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Extension Methods

Name Description
ChunkByKey<TSource,TKey>(IAsyncEnumerable<TSource>, Func<TSource,TKey>, IEqualityComparer<TKey>, CancellationToken)

Chunks the async enumerable sequence into groups based on a key selector function.

ChunkOnChange<TSource>(IAsyncEnumerable<TSource>, Func<TSource,TSource,Boolean>, CancellationToken)

Chunks the async enumerable sequence into groups based on when consecutive elements change.

Peek<T>(IAsyncEnumerable<T>, CancellationToken)

Peeks at the first element of an async enumerable sequence without consuming the sequence.

ToSseResult<T>(IAsyncEnumerable<T>, Func<T,SseFrame>, ILogger, CancellationToken, Nullable<TimeSpan>)

Converts an async enumerable source to an SSE result with frame transformation.

Applies to