EnvironmentsClient Interface

public interface EnvironmentsClient

An instance of this class provides access to all the operations defined in EnvironmentsClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<EnvironmentResourceInner>,EnvironmentResourceInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters)

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

abstract SyncPoller<PollResult<EnvironmentResourceInner>,EnvironmentResourceInner> beginCreateOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters, Context context)

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

abstract SyncPoller<PollResult<EnvironmentResourceInner>,EnvironmentResourceInner> beginUpdate(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters)

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

abstract SyncPoller<PollResult<EnvironmentResourceInner>,EnvironmentResourceInner> beginUpdate(String resourceGroupName, String environmentName, EnvironmentUpdateParameters environmentUpdateParameters, Context context)

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

abstract EnvironmentResourceInner createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters)

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

abstract EnvironmentResourceInner createOrUpdate(String resourceGroupName, String environmentName, EnvironmentCreateOrUpdateParameters parameters, Context context)

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

abstract void delete(String resourceGroupName, String environmentName)

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

abstract Response<Void> deleteWithResponse(String resourceGroupName, String environmentName, Context context)

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

abstract EnvironmentResourceInner getByResourceGroup(String resourceGroupName, String environmentName)

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

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

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

abstract EnvironmentListResponseInner listByResourceGroup(String resourceGroupName)

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

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

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

abstract EnvironmentListResponseInner listBySubscription()

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

abstract Response<EnvironmentListResponseInner> listBySubscriptionWithResponse(Context context)

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

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

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

abstract EnvironmentResourceInner 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

beginCreateOrUpdate

public abstract SyncPoller<>,EnvironmentResourceInner> beginCreateOrUpdate(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:

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

beginCreateOrUpdate

public abstract SyncPoller<>,EnvironmentResourceInner> beginCreateOrUpdate(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:

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

beginUpdate

public abstract SyncPoller<>,EnvironmentResourceInner> beginUpdate(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:

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

beginUpdate

public abstract SyncPoller<>,EnvironmentResourceInner> beginUpdate(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:

the SyncPoller<T,U> for polling of 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 EnvironmentResourceInner 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 EnvironmentResourceInner 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.

delete

public abstract void delete(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.

deleteWithResponse

public abstract Response deleteWithResponse(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 EnvironmentResourceInner 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 EnvironmentListResponseInner 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 EnvironmentListResponseInner 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 EnvironmentResourceInner 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 EnvironmentResourceInner 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