共用方式為


GalleryApplicationVersionCollection Class

Definition

A class representing a collection of GalleryApplicationVersionResource and their operations. Each GalleryApplicationVersionResource in the collection will belong to the same instance of GalleryApplicationResource. To get a GalleryApplicationVersionCollection instance call the GetGalleryApplicationVersions method from an instance of GalleryApplicationResource.

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

Constructors

GalleryApplicationVersionCollection()

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

Create or update a gallery Application Version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_CreateOrUpdate
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
CreateOrUpdateAsync(WaitUntil, String, GalleryApplicationVersionData, CancellationToken)

Create or update a gallery Application Version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_CreateOrUpdate
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
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}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
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}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
Get(String, Nullable<ReplicationStatusType>, CancellationToken)

Retrieves information about a gallery Application Version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
GetAll(CancellationToken)

List gallery Application Versions in a gallery Application Definition.

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

List gallery Application Versions in a gallery Application Definition.

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

Retrieves information about a gallery Application Version.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
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}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
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}/applications/{galleryApplicationName}/versions/{galleryApplicationVersionName}
  • Operation Id: GalleryApplicationVersions_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationVersionResource
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<GalleryApplicationVersionResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GalleryApplicationVersionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to