Partager via


ManagedInstanceServerConfigurationOptionCollection.GetIfExistsAsync Méthode

Définition

Tente d’obtenir les détails de cette ressource à partir du service.

  • Chemin/abonnements de la demande/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/serverConfigurationOptions/{serverConfigurationOptionName}
  • IdServerConfigurationOptions_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceServerConfigurationOptionResource>> GetIfExistsAsync (Azure.ResourceManager.Sql.Models.ManagedInstanceServerConfigurationOptionName serverConfigurationOptionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIfExistsAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceServerConfigurationOptionName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceServerConfigurationOptionResource>>
override this.GetIfExistsAsync : Azure.ResourceManager.Sql.Models.ManagedInstanceServerConfigurationOptionName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.NullableResponse<Azure.ResourceManager.Sql.ManagedInstanceServerConfigurationOptionResource>>
Public Overridable Function GetIfExistsAsync (serverConfigurationOptionName As ManagedInstanceServerConfigurationOptionName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of NullableResponse(Of ManagedInstanceServerConfigurationOptionResource))

Paramètres

serverConfigurationOptionName
ManagedInstanceServerConfigurationOptionName

Nom de l’option de configuration du serveur.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à