JavaComponentsOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:java_components> attribute.
Constructor
JavaComponentsOperations(*args, **kwargs)
Methods
begin_create_or_update |
Creates or updates a Java Component. Creates or updates a Java Component in a Managed Environment. |
begin_delete |
Delete. Delete a Java Component. |
begin_update |
Update properties of a Java Component. Patches a Java Component using JSON Merge Patch. |
get |
Get a Java Component. Get a Java Component. |
list |
Get the Java Components for a managed environment. Get the Java Components for a managed environment. |
begin_create_or_update
Creates or updates a Java Component.
Creates or updates a Java Component in a Managed Environment.
begin_create_or_update(resource_group_name: str, environment_name: str, name: str, java_component_envelope: _models.JavaComponent, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.JavaComponent]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
name
Required
|
Name of the Java Component. Required. |
java_component_envelope
Required
|
Configuration details of the Java Component. Is either a JavaComponent type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either JavaComponent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_delete
Delete.
Delete a Java Component.
begin_delete(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> LROPoller[None]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
name
Required
|
Name of the Java Component. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either None or the result of cls(response) |
Exceptions
Type | Description |
---|---|
begin_update
Update properties of a Java Component.
Patches a Java Component using JSON Merge Patch.
begin_update(resource_group_name: str, environment_name: str, name: str, java_component_envelope: _models.JavaComponent, *, content_type: str = 'application/json', **kwargs: Any) -> LROPoller[_models.JavaComponent]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
name
Required
|
Name of the Java Component. Required. |
java_component_envelope
Required
|
Configuration details of the Java Component. Is either a JavaComponent type or a IO[bytes] type. Required. |
Returns
Type | Description |
---|---|
An instance of LROPoller that returns either JavaComponent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
get
Get a Java Component.
Get a Java Component.
get(resource_group_name: str, environment_name: str, name: str, **kwargs: Any) -> JavaComponent
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
name
Required
|
Name of the Java Component. Required. |
Returns
Type | Description |
---|---|
JavaComponent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
list
Get the Java Components for a managed environment.
Get the Java Components for a managed environment.
list(resource_group_name: str, environment_name: str, **kwargs: Any) -> Iterable[JavaComponent]
Parameters
Name | Description |
---|---|
resource_group_name
Required
|
The name of the resource group. The name is case insensitive. Required. |
environment_name
Required
|
Name of the Managed Environment. Required. |
Returns
Type | Description |
---|---|
An iterator like instance of either JavaComponent or the result of cls(response) |
Exceptions
Type | Description |
---|---|
Attributes
models
models = <module 'azure.mgmt.appcontainers.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.11.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv63\\Lib\\site-packages\\azure\\mgmt\\appcontainers\\models\\__init__.py'>