Interface ConnectedEnvironments
public interface ConnectedEnvironments
Resource collection API of ConnectedEnvironments.
-
Method Summary
Modifier and TypeMethodDescriptioncheckNameAvailability(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest) Checks the resource connectedEnvironmentName availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context) Checks the resource connectedEnvironmentName availability.Begins definition for a new ConnectedEnvironment resource.voiddelete(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Delete an connectedEnvironment.voiddeleteById(String id) Delete an connectedEnvironment.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete an connectedEnvironment.voiddeleteByResourceGroup(String resourceGroupName, String connectedEnvironmentName) Delete an connectedEnvironment.Get the properties of an connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironment> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the properties of an connectedEnvironment.getByResourceGroup(String resourceGroupName, String connectedEnvironmentName) Get the properties of an connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironment> getByResourceGroupWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the properties of an connectedEnvironment.com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> list()Get all connectedEnvironments for a subscription.com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> list(com.azure.core.util.Context context) Get all connectedEnvironments for a subscription.com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> listByResourceGroup(String resourceGroupName) Get all connectedEnvironments in a resource group.com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get all connectedEnvironments in a resource group.Update connected Environment's properties.com.azure.core.http.rest.Response<ConnectedEnvironment> updateWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Update connected Environment's properties.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> list()Get all connectedEnvironments for a subscription.- Returns:
- all connectedEnvironments for a subscription as paginated response with
PagedIterable. - Throws:
DefaultErrorResponseErrorException- 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<ConnectedEnvironment> list(com.azure.core.util.Context context) Get all connectedEnvironments for a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all connectedEnvironments for a subscription as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> listByResourceGroup(String resourceGroupName) Get all connectedEnvironments in a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- all connectedEnvironments in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<ConnectedEnvironment> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get all connectedEnvironments in a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.context- The context to associate with this operation.- Returns:
- all connectedEnvironments in a resource group as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<ConnectedEnvironment> getByResourceGroupWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the properties of an connectedEnvironment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.context- The context to associate with this operation.- Returns:
- the properties of an connectedEnvironment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroup
Get the properties of an connectedEnvironment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.- Returns:
- the properties of an connectedEnvironment.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByResourceGroup
Delete an connectedEnvironment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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 connectedEnvironmentName, com.azure.core.util.Context context) Delete an connectedEnvironment.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
updateWithResponse
com.azure.core.http.rest.Response<ConnectedEnvironment> updateWithResponse(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Update connected Environment's properties. Patches a Managed Environment. Only patching of tags is supported currently.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.context- The context to associate with this operation.- Returns:
- an environment for Kubernetes cluster specialized for web workloads by Azure App Service along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
update
Update connected Environment's properties. Patches a Managed Environment. Only patching of tags is supported currently.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the connectedEnvironment.- Returns:
- an environment for Kubernetes cluster specialized for web workloads by Azure App Service.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<CheckNameAvailabilityResponse> checkNameAvailabilityWithResponse(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context) Checks the resource connectedEnvironmentName availability. Checks if resource connectedEnvironmentName is available.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Managed Environment.checkNameAvailabilityRequest- The check connectedEnvironmentName availability request.context- The context to associate with this operation.- Returns:
- the check availability result along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
checkNameAvailability
CheckNameAvailabilityResponse checkNameAvailability(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest) Checks the resource connectedEnvironmentName availability. Checks if resource connectedEnvironmentName is available.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.connectedEnvironmentName- Name of the Managed Environment.checkNameAvailabilityRequest- The check connectedEnvironmentName availability request.- Returns:
- the check availability result.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getById
Get the properties of an connectedEnvironment.- Parameters:
id- the resource ID.- Returns:
- the properties of an connectedEnvironment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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<ConnectedEnvironment> getByIdWithResponse(String id, com.azure.core.util.Context context) Get the properties of an connectedEnvironment.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Returns:
- the properties of an connectedEnvironment along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteById
Delete an connectedEnvironment.- Parameters:
id- the resource ID.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteByIdWithResponse
Delete an connectedEnvironment.- Parameters:
id- the resource ID.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.DefaultErrorResponseErrorException- 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 ConnectedEnvironment resource.- Parameters:
name- resource name.- Returns:
- the first stage of the new ConnectedEnvironment definition.
-