Freigeben über


SourceControlCollection Klasse

Definition

Eine Klasse, die eine Auflistung von SourceControlResource und deren Vorgänge darstellt. Jedes SourceControlResource in der Auflistung gehört zum gleichen instance von ContainerAppResource. Um einen SourceControlCollection instance rufen Sie die GetSourceControls-Methode aus einer instance von aufContainerAppResource.

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

Konstruktoren

SourceControlCollection()

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

CreateOrUpdate(WaitUntil, String, SourceControlData, CancellationToken)

Erstellen oder aktualisieren Sie sourceControl für eine Container-App. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_CreateOrUpdate

CreateOrUpdateAsync(WaitUntil, String, SourceControlData, CancellationToken)

Erstellen oder aktualisieren Sie sourceControl für eine Container-App. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_CreateOrUpdate

Exists(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_Get

ExistsAsync(String, CancellationToken)

Überprüft, ob die Ressource in Azure vorhanden ist. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_Get

Get(String, CancellationToken)

Rufen Sie ein SourceControl einer Container-App ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_Get

GetAll(CancellationToken)

Rufen Sie die Container App SourceControls in einer bestimmten Ressourcengruppe ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols Vorgangs-ID: ContainerAppsSourceControls_ListByContainerApp

GetAllAsync(CancellationToken)

Rufen Sie die Container App SourceControls in einer bestimmten Ressourcengruppe ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols Vorgangs-ID: ContainerAppsSourceControls_ListByContainerApp

GetAsync(String, CancellationToken)

Rufen Sie ein SourceControl einer Container-App ab. Anforderungspfad: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/containerApps/{containerAppName}/sourcecontrols/{sourceControlName} Vorgangs-ID: ContainerAppsSourceControls_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<SourceControlResource>.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<SourceControlResource>.GetEnumerator()

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

Gilt für: