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


ContainerAppManagedEnvironmentResource.GetJavaComponent 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 Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource> GetJavaComponent(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetJavaComponent : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource>
override this.GetJavaComponent : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppContainers.JavaComponentResource>
Public Overridable Function GetJavaComponent (name As String, Optional cancellationToken As CancellationToken = Nothing) As 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