Interface ConnectedEnvironmentsClient
public interface ConnectedEnvironmentsClient
An instance of this class provides access to all the operations defined in ConnectedEnvironmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectedEnvironmentInner>,
ConnectedEnvironmentInner> beginCreateOrUpdate
(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope) Creates or updates an connectedEnvironment.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectedEnvironmentInner>,
ConnectedEnvironmentInner> beginCreateOrUpdate
(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope, com.azure.core.util.Context context) Creates or updates an connectedEnvironment.beginDelete
(String resourceGroupName, String connectedEnvironmentName) Delete an connectedEnvironment.beginDelete
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Delete an connectedEnvironment.checkNameAvailability
(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest) Checks the resource connectedEnvironmentName availability.com.azure.core.http.rest.Response<CheckNameAvailabilityResponseInner>
checkNameAvailabilityWithResponse
(String resourceGroupName, String connectedEnvironmentName, CheckNameAvailabilityRequest checkNameAvailabilityRequest, com.azure.core.util.Context context) Checks the resource connectedEnvironmentName availability.createOrUpdate
(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope) Creates or updates an connectedEnvironment.createOrUpdate
(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope, com.azure.core.util.Context context) Creates or updates an connectedEnvironment.void
Delete an connectedEnvironment.void
delete
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Delete an connectedEnvironment.getByResourceGroup
(String resourceGroupName, String connectedEnvironmentName) Get the properties of an connectedEnvironment.com.azure.core.http.rest.Response<ConnectedEnvironmentInner>
getByResourceGroupWithResponse
(String resourceGroupName, String connectedEnvironmentName, com.azure.core.util.Context context) Get the properties of an connectedEnvironment.com.azure.core.http.rest.PagedIterable<ConnectedEnvironmentInner>
list()
Get all connectedEnvironments for a subscription.com.azure.core.http.rest.PagedIterable<ConnectedEnvironmentInner>
list
(com.azure.core.util.Context context) Get all connectedEnvironments for a subscription.com.azure.core.http.rest.PagedIterable<ConnectedEnvironmentInner>
listByResourceGroup
(String resourceGroupName) Get all connectedEnvironments in a resource group.com.azure.core.http.rest.PagedIterable<ConnectedEnvironmentInner>
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<ConnectedEnvironmentInner>
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<ConnectedEnvironmentInner> 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<ConnectedEnvironmentInner> 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<ConnectedEnvironmentInner> 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<ConnectedEnvironmentInner> 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<ConnectedEnvironmentInner> 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
ConnectedEnvironmentInner getByResourceGroup(String resourceGroupName, String connectedEnvironmentName) 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectedEnvironmentInner>,ConnectedEnvironmentInner> beginCreateOrUpdate(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope) Creates or updates an connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connectedEnvironment.environmentEnvelope
- Configuration details of the connectedEnvironment.- Returns:
- the
SyncPoller
for polling of 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectedEnvironmentInner>,ConnectedEnvironmentInner> beginCreateOrUpdate(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope, com.azure.core.util.Context context) Creates or updates an connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connectedEnvironment.environmentEnvelope
- Configuration details of the connectedEnvironment.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of 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.
-
createOrUpdate
ConnectedEnvironmentInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope) Creates or updates an connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connectedEnvironment.environmentEnvelope
- Configuration details 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.
-
createOrUpdate
ConnectedEnvironmentInner createOrUpdate(String resourceGroupName, String connectedEnvironmentName, ConnectedEnvironmentInner environmentEnvelope, com.azure.core.util.Context context) Creates or updates an connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connectedEnvironment.environmentEnvelope
- Configuration details 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.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String connectedEnvironmentName) Delete an connectedEnvironment.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.connectedEnvironmentName
- Name of the connectedEnvironment.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(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.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
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<ConnectedEnvironmentInner> 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<CheckNameAvailabilityResponseInner> 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
CheckNameAvailabilityResponseInner 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.
-