Freigeben über


SourceControlConfigurations interface

Schnittstelle, die eine SourceControlConfigurations darstellt.

Methoden

beginDelete(string, string, string, string, string, SourceControlConfigurationsDeleteOptionalParams)

Dadurch wird die YAML-Datei gelöscht, die zum Einrichten der Quellcodeverwaltungskonfiguration verwendet wird, wodurch die zukünftige Synchronisierung vom Quell-Repository beendet wird.

beginDeleteAndWait(string, string, string, string, string, SourceControlConfigurationsDeleteOptionalParams)

Dadurch wird die YAML-Datei gelöscht, die zum Einrichten der Quellcodeverwaltungskonfiguration verwendet wird, wodurch die zukünftige Synchronisierung vom Quell-Repository beendet wird.

createOrUpdate(string, string, string, string, string, SourceControlConfiguration, SourceControlConfigurationsCreateOrUpdateOptionalParams)

Erstellen Sie eine neue Kubernetes-Quellcodeverwaltungskonfiguration.

get(string, string, string, string, string, SourceControlConfigurationsGetOptionalParams)

Ruft Details der Quellcodeverwaltungskonfiguration ab.

list(string, string, string, string, SourceControlConfigurationsListOptionalParams)

Listet alle Konfigurationen der Quellcodeverwaltung auf.

Details zur Methode

beginDelete(string, string, string, string, string, SourceControlConfigurationsDeleteOptionalParams)

Dadurch wird die YAML-Datei gelöscht, die zum Einrichten der Quellcodeverwaltungskonfiguration verwendet wird, wodurch die zukünftige Synchronisierung vom Quell-Repository beendet wird.

function beginDelete(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, sourceControlConfigurationName: string, options?: SourceControlConfigurationsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

clusterRp

string

Das Kubernetes-Cluster-RP – d. h. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName

string

Der Name der Kubernetes-Clusterressource , d. h. managedClusters, connectedClusters, provisionedClusters.

clusterName

string

Der Name des Kubernetes-Clusters.

sourceControlConfigurationName

string

Name der Quellcodeverwaltungskonfiguration.

options
SourceControlConfigurationsDeleteOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, SourceControlConfigurationsDeleteOptionalParams)

Dadurch wird die YAML-Datei gelöscht, die zum Einrichten der Quellcodeverwaltungskonfiguration verwendet wird, wodurch die zukünftige Synchronisierung vom Quell-Repository beendet wird.

function beginDeleteAndWait(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, sourceControlConfigurationName: string, options?: SourceControlConfigurationsDeleteOptionalParams): Promise<void>

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

clusterRp

string

Das Kubernetes-Cluster-RP – d. h. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName

string

Der Name der Kubernetes-Clusterressource , d. h. managedClusters, connectedClusters, provisionedClusters.

clusterName

string

Der Name des Kubernetes-Clusters.

sourceControlConfigurationName

string

Name der Quellcodeverwaltungskonfiguration.

options
SourceControlConfigurationsDeleteOptionalParams

Die Optionsparameter.

Gibt zurück

Promise<void>

createOrUpdate(string, string, string, string, string, SourceControlConfiguration, SourceControlConfigurationsCreateOrUpdateOptionalParams)

Erstellen Sie eine neue Kubernetes-Quellcodeverwaltungskonfiguration.

function createOrUpdate(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, sourceControlConfigurationName: string, sourceControlConfiguration: SourceControlConfiguration, options?: SourceControlConfigurationsCreateOrUpdateOptionalParams): Promise<SourceControlConfiguration>

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

clusterRp

string

Das Kubernetes-Cluster-RP – d. h. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName

string

Der Name der Kubernetes-Clusterressource , d. h. managedClusters, connectedClusters, provisionedClusters.

clusterName

string

Der Name des Kubernetes-Clusters.

sourceControlConfigurationName

string

Name der Quellcodeverwaltungskonfiguration.

sourceControlConfiguration
SourceControlConfiguration

Eigenschaften, die zum Erstellen von KubernetesConfiguration erforderlich sind.

Gibt zurück

get(string, string, string, string, string, SourceControlConfigurationsGetOptionalParams)

Ruft Details der Quellcodeverwaltungskonfiguration ab.

function get(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, sourceControlConfigurationName: string, options?: SourceControlConfigurationsGetOptionalParams): Promise<SourceControlConfiguration>

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

clusterRp

string

Das Kubernetes-Cluster-RP – d. h. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName

string

Der Name der Kubernetes-Clusterressource , d. h. managedClusters, connectedClusters, provisionedClusters.

clusterName

string

Der Name des Kubernetes-Clusters.

sourceControlConfigurationName

string

Name der Quellcodeverwaltungskonfiguration.

options
SourceControlConfigurationsGetOptionalParams

Die Optionsparameter.

Gibt zurück

list(string, string, string, string, SourceControlConfigurationsListOptionalParams)

Listet alle Konfigurationen der Quellcodeverwaltung auf.

function list(resourceGroupName: string, clusterRp: string, clusterResourceName: string, clusterName: string, options?: SourceControlConfigurationsListOptionalParams): PagedAsyncIterableIterator<SourceControlConfiguration, SourceControlConfiguration[], PageSettings>

Parameter

resourceGroupName

string

Der Name der Ressourcengruppe. Bei dem Namen wird die Groß-/Kleinschreibung nicht beachtet.

clusterRp

string

Das Kubernetes-Cluster-RP – d. h. Microsoft.ContainerService, Microsoft.Kubernetes, Microsoft.HybridContainerService.

clusterResourceName

string

Der Name der Kubernetes-Clusterressource , d. h. managedClusters, connectedClusters, provisionedClusters.

clusterName

string

Der Name des Kubernetes-Clusters.

options
SourceControlConfigurationsListOptionalParams

Die Optionsparameter.

Gibt zurück