Поделиться через


ContainerAppManagedEnvironmentResource.GetJavaComponentAsync Method

Definition

Get a Java Component.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.App/managedEnvironments/{environmentName}/javaComponents/{name}
  • Operation Id: JavaComponents_Get
  • Default Api Version: 2025-01-01
  • Resource: JavaComponentResource
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource>> GetJavaComponentAsync(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJavaComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource>>
override this.GetJavaComponentAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource>>
Public Overridable Function GetJavaComponentAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of JavaComponentResource))

Parameters

name
String

Name of the Java Component.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

name is null.

name is an empty string, and was expected to be non-empty.

Applies to