Interface JavaComponents
public interface JavaComponents
Resource collection API of JavaComponents.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new JavaComponent resource.void
Delete.void
delete
(String resourceGroupName, String environmentName, String name, com.azure.core.util.Context context) Delete.void
deleteById
(String id) Delete.void
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete.Get a Java Component.Get a Java Component.com.azure.core.http.rest.Response
<JavaComponent> getByIdWithResponse
(String id, com.azure.core.util.Context context) Get a Java Component.com.azure.core.http.rest.Response
<JavaComponent> getWithResponse
(String resourceGroupName, String environmentName, String name, com.azure.core.util.Context context) Get a Java Component.com.azure.core.http.rest.PagedIterable
<JavaComponent> Get the Java Components for a managed environment.com.azure.core.http.rest.PagedIterable
<JavaComponent> Get the Java Components for a managed environment.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<JavaComponent> list(String resourceGroupName, String environmentName) Get the Java Components for a managed environment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.- Returns:
- the Java Components for a managed environment as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<JavaComponent> list(String resourceGroupName, String environmentName, com.azure.core.util.Context context) Get the Java Components for a managed environment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.context
- The context to associate with this operation.- Returns:
- the Java Components for a managed environment as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<JavaComponent> getWithResponse(String resourceGroupName, String environmentName, String name, com.azure.core.util.Context context) Get a Java Component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.name
- Name of the Java Component.context
- The context to associate with this operation.- Returns:
- a Java Component along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get a Java Component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.name
- Name of the Java Component.- Returns:
- a Java Component.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete. Delete a Java Component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.name
- Name of the Java Component.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String environmentName, String name, com.azure.core.util.Context context) Delete. Delete a Java Component.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.environmentName
- Name of the Managed Environment.name
- Name of the Java Component.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Get a Java Component.- Parameters:
id
- the resource ID.- Returns:
- a Java Component along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getByIdWithResponse
com.azure.core.http.rest.Response<JavaComponent> getByIdWithResponse(String id, com.azure.core.util.Context context) Get a Java Component.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- a Java Component along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Delete. Delete a Java Component.- Parameters:
id
- the resource ID.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Delete. Delete a Java Component.- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
define
Begins definition for a new JavaComponent resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new JavaComponent definition.
-