Share via


GalleryImageVersionCollection Class

Definition

A class representing a collection of GalleryImageVersionResource and their operations. Each GalleryImageVersionResource in the collection will belong to the same instance of GalleryImageResource. To get a GalleryImageVersionCollection instance call the GetGalleryImageVersions method from an instance of GalleryImageResource.

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

Constructors

GalleryImageVersionCollection()

Initializes a new instance of the GalleryImageVersionCollection 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, GalleryImageVersionData, CancellationToken)

Create or update a gallery image version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_CreateOrUpdate
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
CreateOrUpdateAsync(WaitUntil, String, GalleryImageVersionData, CancellationToken)

Create or update a gallery image version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_CreateOrUpdate
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
Exists(String, Nullable<ReplicationStatusType>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
ExistsAsync(String, Nullable<ReplicationStatusType>, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
Get(String, Nullable<ReplicationStatusType>, CancellationToken)

Retrieves information about a gallery image version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
GetAll(CancellationToken)

List gallery image versions in a gallery image definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions
  • Operation Id: GalleryImageVersions_ListByGalleryImage
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
GetAllAsync(CancellationToken)

List gallery image versions in a gallery image definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions
  • Operation Id: GalleryImageVersions_ListByGalleryImage
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
GetAsync(String, Nullable<ReplicationStatusType>, CancellationToken)

Retrieves information about a gallery image version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
GetIfExists(String, Nullable<ReplicationStatusType>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
GetIfExistsAsync(String, Nullable<ReplicationStatusType>, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/images/{galleryImageName}/versions/{galleryImageVersionName}
  • Operation Id: GalleryImageVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryImageVersionResource
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<GalleryImageVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GalleryImageVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to