Environments Interface

public interface Environments

Resource collection API of Environments.

Method Summary

Modifier and Type Method and Description
abstract EnvironmentResource createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters)

Create or update an environment in the specified subscription and resource group.

abstract EnvironmentResource 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 EnvironmentResource getByResourceGroup(String resourceGroupName, String environmentName)

Gets the environment with the specified name in the specified subscription and resource group.

abstract Response<EnvironmentResource> getByResourceGroupWithResponse(String resourceGroupName, String environmentName, String expand, Context context)

Gets the environment with the specified name in the specified subscription and resource group.

abstract EnvironmentListResponse listByResourceGroup(String resourceGroupName)

Lists all the available environments associated with the subscription and within the specified resource group.

abstract Response<EnvironmentListResponse> listByResourceGroupWithResponse(String resourceGroupName, Context context)

Lists all the available environments associated with the subscription and within the specified resource group.

abstract EnvironmentListResponse listBySubscription()

Lists all the available environments within a subscription, irrespective of the resource groups.

abstract Response<EnvironmentListResponse> listBySubscriptionWithResponse(Context context)

Lists all the available environments within a subscription, irrespective of the resource groups.

abstract EnvironmentResource update(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters)

Updates the environment with the specified name in the specified subscription and resource group.

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.

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:

resourceGroupName - Name of an Azure Resource group.
environmentName - Name of the environment.
parameters - Parameters for creating an environment resource.

Returns:

an environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.

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:

resourceGroupName - Name of an Azure Resource group.
environmentName - Name of the environment.
parameters - Parameters for creating an environment resource.
context - The context to associate with this operation.

Returns:

an environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String environmentName)

Deletes the environment with the specified name in the specified subscription and resource group.

Parameters:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.

deleteByResourceGroupWithResponse

public abstract Response deleteByResourceGroupWithResponse(String resourceGroupName, String environmentName, Context context)

Deletes the environment with the specified name in the specified subscription and resource group.

Parameters:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.
context - The context to associate with this operation.

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:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.

Returns:

the environment with the specified name in the specified subscription and resource group.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String environmentName, String expand, Context context)

Gets the environment with the specified name in the specified subscription and resource group.

Parameters:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.
expand - Setting $expand=status will include the status of the internal services of the environment in the Time Series Insights service.
context - The context to associate with this operation.

Returns:

the environment with the specified name in the specified subscription and resource group along with Response<T>.

listByResourceGroup

public abstract EnvironmentListResponse listByResourceGroup(String resourceGroupName)

Lists all the available environments associated with the subscription and within the specified resource group.

Parameters:

resourceGroupName - Name of an Azure Resource group.

Returns:

the response of the List Environments operation.

listByResourceGroupWithResponse

public abstract Response listByResourceGroupWithResponse(String resourceGroupName, Context context)

Lists all the available environments associated with the subscription and within the specified resource group.

Parameters:

resourceGroupName - Name of an Azure Resource group.
context - The context to associate with this operation.

Returns:

the response of the List Environments operation along with Response<T>.

listBySubscription

public abstract EnvironmentListResponse listBySubscription()

Lists all the available environments within a subscription, irrespective of the resource groups.

Returns:

the response of the List Environments operation.

listBySubscriptionWithResponse

public abstract Response listBySubscriptionWithResponse(Context context)

Lists all the available environments within a subscription, irrespective of the resource groups.

Parameters:

context - The context to associate with this operation.

Returns:

the response of the List Environments operation along with Response<T>.

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:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.
environmentUpdateParameters - Request object that contains the updated information for the environment.

Returns:

an environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.

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:

resourceGroupName - Name of an Azure Resource group.
environmentName - The name of the Time Series Insights environment associated with the specified resource group.
environmentUpdateParameters - Request object that contains the updated information for the environment.
context - The context to associate with this operation.

Returns:

an environment is a set of time-series data available for query, and is the top level Azure Time Series Insights resource.

Applies to