Partager via


ContainerServiceManagedClusterResource.GetContainerServiceMaintenanceConfigurationAsync Méthode

Définition

Obtient la configuration de maintenance spécifiée d’un cluster managé.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{resourceName}/maintenanceConfigurations/{configName}
  • IdMaintenanceConfigurations_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceMaintenanceConfigurationResource>> GetContainerServiceMaintenanceConfigurationAsync (string configName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerServiceMaintenanceConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceMaintenanceConfigurationResource>>
override this.GetContainerServiceMaintenanceConfigurationAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ContainerService.ContainerServiceMaintenanceConfigurationResource>>
Public Overridable Function GetContainerServiceMaintenanceConfigurationAsync (configName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerServiceMaintenanceConfigurationResource))

Paramètres

configName
String

Nom de la configuration de maintenance.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

configName est une chaîne vide et devait être non vide.

configName a la valeur null.

S’applique à