Freigeben über


ContainerAppManagedEnvironmentResource.GetContainerAppManagedEnvironmentDaprComponentAsync Methode

Definition

Rufen Sie eine dapr-Komponente ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}
  • Vorgangs-IdDaprComponents_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDaprComponentResource>> GetContainerAppManagedEnvironmentDaprComponentAsync (string componentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppManagedEnvironmentDaprComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDaprComponentResource>>
override this.GetContainerAppManagedEnvironmentDaprComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppManagedEnvironmentDaprComponentResource>>
Public Overridable Function GetContainerAppManagedEnvironmentDaprComponentAsync (componentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppManagedEnvironmentDaprComponentResource))

Parameter

componentName
String

Name der Dapr-Komponente.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

componentName ist NULL.

Gilt für: