Compartir a través de


ContainerAppManagedEnvironmentResource.GetContainerAppManagedEnvironmentDaprComponentAsync Método

Definición

Obtenga un componente dapr.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/daprComponents/{componentName}
  • IdDaprComponents_Get de operaciones
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))

Parámetros

componentName
String

Nombre del componente Dapr.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

componentName es una cadena vacía y se esperaba que no estuviera vacía.

componentName es null.

Se aplica a