CommunityGalleryImageCollection Classe

Définition

Classe représentant une collection de CommunityGalleryImageResource et leurs opérations. Chacun CommunityGalleryImageResource de la collection appartient au même instance de CommunityGalleryResource. Pour obtenir un CommunityGalleryImageCollection instance appelez la méthode GetCommunityGalleryImages à partir d’un instance de CommunityGalleryResource.

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)
Héritage
CommunityGalleryImageCollection
Implémente

Constructeurs

CommunityGalleryImageCollection()

Initialise une nouvelle instance de la classe pour la CommunityGalleryImageCollection simulation.

Propriétés

Client

Obtient le ArmClient à partir duquel ce client de ressource a été créé.

(Hérité de ArmCollection)
Diagnostics

Obtient les options de diagnostic pour ce client de ressources.

(Hérité de ArmCollection)
Endpoint

Obtient l’URI de base pour ce client de ressource.

(Hérité de ArmCollection)
Id

Obtient l’identificateur de ressource.

(Hérité de ArmCollection)
Pipeline

Obtient le pipeline pour ce client de ressource.

(Hérité de ArmCollection)

Méthodes

Exists(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Opération IdCommunityGalleryImages_Get
ExistsAsync(String, CancellationToken)

Vérifie si la ressource existe dans Azure.

  • Chemin de la demande/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Opération IdCommunityGalleryImages_Get
Get(String, CancellationToken)

Obtenir une image de galerie de la communauté.

  • Chemin de la demande/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Opération IdCommunityGalleryImages_Get
GetAll(CancellationToken)

Répertorier les images de la galerie de communauté à l’intérieur d’une galerie.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images
  • IdCommunityGalleryImages_List d’opération
GetAllAsync(CancellationToken)

Répertorier les images de la galerie de communauté à l’intérieur d’une galerie.

  • Chemin/abonnements de la demande/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images
  • IdCommunityGalleryImages_List d’opération
GetAsync(String, CancellationToken)

Obtenir une image de galerie de la communauté.

  • Chemin de la demande/subscriptions/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/communityGalleries/{publicGalleryName}/images/{galleryImageName}
  • Opération IdCommunityGalleryImages_Get
TryGetApiVersion(ResourceType, String)

Obtient le remplacement de version de l’API s’il a été défini pour les options client actuelles.

(Hérité de ArmCollection)

Implémentations d’interfaces explicites

IAsyncEnumerable<CommunityGalleryImageResource>.GetAsyncEnumerator(CancellationToken)

Retourne un énumérateur qui boucle de façon asynchrone dans la collection.

IEnumerable.GetEnumerator()

Retourne un énumérateur qui itère au sein d’une collection.

IEnumerable<CommunityGalleryImageResource>.GetEnumerator()

Retourne un énumérateur qui itère au sein de la collection.

S’applique à