Freigeben über


AutomationAccountResource.GetFieldsByTypeAsync Methode

Definition

Ruft eine Liste von Feldern eines bestimmten Typs für alle zugänglichen Module ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/objectDataTypes/{typeName}/fields
  • Vorgang IdObjectDataTypes_ListFieldsByType
public virtual Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationModuleField> GetFieldsByTypeAsync (string typeName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetFieldsByTypeAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationModuleField>
override this.GetFieldsByTypeAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Automation.Models.AutomationModuleField>
Public Overridable Function GetFieldsByTypeAsync (typeName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of AutomationModuleField)

Parameter

typeName
String

Der Name des Typs.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Eine asynchrone Sammlung von, bei der AutomationModuleField mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Ausnahmen

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

typeName ist NULL.

Gilt für: