Freigeben über


SoftwareUpdateConfigurationCollection.ExistsAsync Methode

Definition

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

  • Anfordern von Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/softwareUpdateConfigurations/{softwareUpdateConfigurationName}
  • Vorgang IdSoftwareUpdateConfigurations_GetByName
public virtual System.Threading.Tasks.Task<Azure.Response<bool>> ExistsAsync (string softwareUpdateConfigurationName, string clientRequestId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
override this.ExistsAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<bool>>
Public Overridable Function ExistsAsync (softwareUpdateConfigurationName As String, Optional clientRequestId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of Boolean))

Parameter

softwareUpdateConfigurationName
String

Der Name der zu erstellenden Softwareupdatekonfiguration.

clientRequestId
String

Identifiziert diese spezifische Clientanforderung.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

softwareUpdateConfigurationName ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

softwareUpdateConfigurationName ist NULL.

Gilt für: