Environments Interface
public interface Environments
Resource collection API of Environments.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
Environment |
createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters)
Create or update an environment in the specified subscription and resource group. |
abstract
Environment |
createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters, Context context)
Create or update an environment in the specified subscription and resource group. |
abstract void |
deleteByResourceGroup(String resourceGroupName, String environmentName)
Deletes the environment with the specified name in the specified subscription and resource group. |
abstract Response<Void> |
deleteByResourceGroupWithResponse(String resourceGroupName, String environmentName, Context context)
Deletes the environment with the specified name in the specified subscription and resource group. |
abstract
Environment |
getByResourceGroup(String resourceGroupName, String environmentName)
Gets the environment with the specified name in the specified subscription and resource group. |
abstract
Response<Environment |
getByResourceGroupWithResponse(String resourceGroupName, String environmentName, String expand, Context context)
Gets the environment with the specified name in the specified subscription and resource group. |
abstract
Environment |
listByResourceGroup(String resourceGroupName)
Lists all the available environments associated with the subscription and within the specified resource group. |
abstract
Response<Environment |
listByResourceGroupWithResponse(String resourceGroupName, Context context)
Lists all the available environments associated with the subscription and within the specified resource group. |
abstract
Environment |
listBySubscription()
Lists all the available environments within a subscription, irrespective of the resource groups. |
abstract
Response<Environment |
listBySubscriptionWithResponse(Context context)
Lists all the available environments within a subscription, irrespective of the resource groups. |
abstract
Environment |
update(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters)
Updates the environment with the specified name in the specified subscription and resource group. |
abstract
Environment |
update(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters, Context context)
Updates the environment with the specified name in the specified subscription and resource group. |
Method Details
createOrUpdate
public abstract EnvironmentResource createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters)
Create or update an environment in the specified subscription and resource group.
Parameters:
Returns:
createOrUpdate
public abstract EnvironmentResource createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters, Context context)
Create or update an environment in the specified subscription and resource group.
Parameters:
Returns:
deleteByResourceGroup
public abstract void deleteByResourceGroup(String resourceGroupName, String environmentName)
Deletes the environment with the specified name in the specified subscription and resource group.
Parameters:
deleteByResourceGroupWithResponse
public abstract Response
Deletes the environment with the specified name in the specified subscription and resource group.
Parameters:
Returns:
getByResourceGroup
public abstract EnvironmentResource getByResourceGroup(String resourceGroupName, String environmentName)
Gets the environment with the specified name in the specified subscription and resource group.
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Gets the environment with the specified name in the specified subscription and resource group.
Parameters:
Returns:
listByResourceGroup
public abstract EnvironmentListResponse listByResourceGroup(String resourceGroupName)
Lists all the available environments associated with the subscription and within the specified resource group.
Parameters:
Returns:
listByResourceGroupWithResponse
public abstract Response
Lists all the available environments associated with the subscription and within the specified resource group.
Parameters:
Returns:
listBySubscription
public abstract EnvironmentListResponse listBySubscription()
Lists all the available environments within a subscription, irrespective of the resource groups.
Returns:
listBySubscriptionWithResponse
public abstract Response
Lists all the available environments within a subscription, irrespective of the resource groups.
Parameters:
Returns:
update
public abstract EnvironmentResource update(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters)
Updates the environment with the specified name in the specified subscription and resource group.
Parameters:
Returns:
update
public abstract EnvironmentResource update(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters, Context context)
Updates the environment with the specified name in the specified subscription and resource group.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for