Share via


SharedGalleryImageCollection Klasse

Definition

Eine Klasse, die eine Auflistung von SharedGalleryImageResource und deren Vorgänge darstellt. Jedes SharedGalleryImageResource in der Auflistung gehört zum gleichen instance von SharedGalleryResource. Um einen SharedGalleryImageCollection instance rufen Sie die GetSharedGalleryImages-Methode aus einer instance von aufSharedGalleryResource.

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

Konstruktoren

SharedGalleryImageCollection()

Initialisiert eine neue instance der SharedGalleryImageCollection -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}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • Vorgang IdSharedGalleryImages_Get
ExistsAsync(String, CancellationToken)

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

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • Vorgang IdSharedGalleryImages_Get
Get(String, CancellationToken)

Rufen Sie ein freigegebenes Katalogimage nach Abonnement-ID oder Mandanten-ID ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • Vorgang IdSharedGalleryImages_Get
GetAll(Nullable<SharedToValue>, CancellationToken)

Listen Sie freigegebene Katalogimages nach Abonnement-ID oder Mandanten-ID auf.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images
  • Vorgang IdSharedGalleryImages_List
GetAllAsync(Nullable<SharedToValue>, CancellationToken)

Listen Sie freigegebene Katalogimages nach Abonnement-ID oder Mandanten-ID auf.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images
  • Vorgang IdSharedGalleryImages_List
GetAsync(String, CancellationToken)

Rufen Sie ein freigegebenes Katalogimage nach Abonnement-ID oder Mandanten-ID ab.

  • Request Path/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • Vorgang IdSharedGalleryImages_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<SharedGalleryImageResource>.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<SharedGalleryImageResource>.GetEnumerator()

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

Gilt für: