次の方法で共有


ContainerAppConnectedEnvironmentResource.GetContainerAppConnectedEnvironmentDaprComponentAsync メソッド

定義

dapr コンポーネントを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/connectedEnvironments/{connectedEnvironmentName}/daprComponents/{componentName}
  • 操作IdConnectedEnvironmentsDaprComponents_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>> GetContainerAppConnectedEnvironmentDaprComponentAsync (string componentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetContainerAppConnectedEnvironmentDaprComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>>
override this.GetContainerAppConnectedEnvironmentDaprComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.ContainerAppConnectedEnvironmentDaprComponentResource>>
Public Overridable Function GetContainerAppConnectedEnvironmentDaprComponentAsync (componentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ContainerAppConnectedEnvironmentDaprComponentResource))

パラメーター

componentName
String

Dapr コンポーネントの名前。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

componentName は空の文字列であり、空でないと予想されていました。

componentName が null です。

適用対象