你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

GalleryApplicationCollection Class

Definition

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

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

Constructors

GalleryApplicationCollection()

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

Create or update a gallery Application Definition.

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

Create or update a gallery Application Definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Operation Id: GalleryApplications_CreateOrUpdate
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Operation Id: GalleryApplications_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Operation Id: GalleryApplications_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
Get(String, CancellationToken)

Retrieves information about a gallery Application Definition.

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

List gallery Application Definitions in a gallery.

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

List gallery Application Definitions in a gallery.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications
  • Operation Id: GalleryApplications_ListByGallery
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
GetAsync(String, CancellationToken)

Retrieves information about a gallery Application Definition.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Operation Id: GalleryApplications_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Compute/galleries/{galleryName}/applications/{galleryApplicationName}
  • Operation Id: GalleryApplications_Get
  • Default Api Version: 2023-07-03
  • Resource: GalleryApplicationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GalleryApplicationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to