Freigeben über


CommunityGalleryImageCollection Klasse

Definition

Eine Klasse, die eine Auflistung von CommunityGalleryImageResource und deren Vorgänge darstellt. Jedes CommunityGalleryImageResource in der Auflistung gehört zum gleichen instance von CommunityGalleryResource. Um einen CommunityGalleryImageCollection instance rufen Sie die GetCommunityGalleryImages-Methode aus einer instance von aufCommunityGalleryResource.

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

Konstruktoren

CommunityGalleryImageCollection()

Initialisiert eine neue instance der CommunityGalleryImageCollection -Klasse zum Mocking.

Eigenschaften

Client

Ruft die Ressource ab, aus ArmClient der dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmCollection)
Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)
Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmCollection)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmCollection)

Methoden

Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Vorgang IdCommunityGalleryImages_Get
ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Vorgang IdCommunityGalleryImages_Get
Get(String, CancellationToken)

Rufen Sie ein Communitykatalogimage ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Vorgang IdCommunityGalleryImages_Get
GetAll(CancellationToken)

Auflisten von Communitykatalogbildern in einem Katalog.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images
  • Vorgang IdCommunityGalleryImages_List
GetAllAsync(CancellationToken)

Auflisten von Communitykatalogbildern in einem Katalog.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images
  • Vorgang IdCommunityGalleryImages_List
GetAsync(String, CancellationToken)

Rufen Sie ein Communitykatalogimage ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Vorgang IdCommunityGalleryImages_Get
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmCollection)

Explizite Schnittstellenimplementierungen

IAsyncEnumerable<CommunityGalleryImageResource>.GetAsyncEnumerator(CancellationToken)

Gibt einen Enumerator zurück, der die Sammlung asynchron durchläuft.

IEnumerable.GetEnumerator()

Gibt einen Enumerator zurück, der eine Auflistung durchläuft.

IEnumerable<CommunityGalleryImageResource>.GetEnumerator()

Gibt einen Enumerator zurück, der die Auflistung durchläuft.

Gilt für: