Freigeben über


MetadataEntityCollection Klasse

Definition

Eine Klasse, die eine Auflistung von MetadataEntityResource und deren Vorgänge darstellt. Jedes MetadataEntityResource in der Auflistung gehört zum gleichen instance von TenantResource. Um einen MetadataEntityCollection instance rufen Sie die GetMetadataEntities-Methode aus einer instance von aufTenantResource.

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

Konstruktoren

MetadataEntityCollection()

Initialisiert eine neue instance der MetadataEntityCollection -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.

  • Anforderungspfad/providers/Microsoft.Advisor/metadata/{name}
  • Vorgang IdRecommendationMetadata_Get
ExistsAsync(String, CancellationToken)

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

  • Anforderungspfad/providers/Microsoft.Advisor/metadata/{name}
  • Vorgang IdRecommendationMetadata_Get
Get(String, CancellationToken)

Ruft die Metadatenentität ab.

  • Anforderungspfad/providers/Microsoft.Advisor/metadata/{name}
  • Vorgang IdRecommendationMetadata_Get
GetAll(CancellationToken)

Ruft die Liste der Metadatenentitäten ab.

  • Anforderungspfad/providers/Microsoft.Advisor/metadata
  • Vorgang IdRecommendationMetadata_List
GetAllAsync(CancellationToken)

Ruft die Liste der Metadatenentitäten ab.

  • Anforderungspfad/providers/Microsoft.Advisor/metadata
  • Vorgang IdRecommendationMetadata_List
GetAsync(String, CancellationToken)

Ruft die Metadatenentität ab.

  • Anforderungspfad/providers/Microsoft.Advisor/metadata/{name}
  • Vorgang IdRecommendationMetadata_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<MetadataEntityResource>.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<MetadataEntityResource>.GetEnumerator()

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

Gilt für: