Partager via


ContainerAppConnectedEnvironmentDaprComponentCollection.GetAsync Méthode

Définition

Obtenir un composant dapr.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}
  • IdConnectedEnvironmentsDaprComponents_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>> GetAsync (string componentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>>
Public Overridable Function GetAsync (componentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppConnectedEnvironmentDaprComponentResource))

Paramètres

componentName
String

Nom du composant Dapr.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

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

componentName a la valeur null.

S’applique à