Partager via


ProjectEnvironmentTypesClient Interface

public interface ProjectEnvironmentTypesClient

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

Method Summary

Modifier and Type Method and Description
abstract ProjectEnvironmentTypeInner createOrUpdate(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body)

Creates or updates a project environment type.

abstract Response<ProjectEnvironmentTypeInner> createOrUpdateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body, Context context)

Creates or updates a project environment type.

abstract void delete(String resourceGroupName, String projectName, String environmentTypeName)

Deletes a project environment type.

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

Deletes a project environment type.

abstract ProjectEnvironmentTypeInner get(String resourceGroupName, String projectName, String environmentTypeName)

Gets a project environment type.

abstract Response<ProjectEnvironmentTypeInner> getWithResponse(String resourceGroupName, String projectName, String environmentTypeName, Context context)

Gets a project environment type.

abstract PagedIterable<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName)

Lists environment types for a project.

abstract PagedIterable<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName, Integer top, Context context)

Lists environment types for a project.

abstract ProjectEnvironmentTypeInner update(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body)

Partially updates a project environment type.

abstract Response<ProjectEnvironmentTypeInner> updateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body, Context context)

Partially updates a project environment type.

Method Details

createOrUpdate

public abstract ProjectEnvironmentTypeInner createOrUpdate(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body)

Creates or updates a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
body - Represents a Project Environment Type.

Returns:

represents an environment type.

createOrUpdateWithResponse

public abstract Response<ProjectEnvironmentTypeInner> createOrUpdateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeInner body, Context context)

Creates or updates a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
body - Represents a Project Environment Type.
context - The context to associate with this operation.

Returns:

represents an environment type along with Response<T>.

delete

public abstract void delete(String resourceGroupName, String projectName, String environmentTypeName)

Deletes a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String projectName, String environmentTypeName, Context context)

Deletes a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
context - The context to associate with this operation.

Returns:

get

public abstract ProjectEnvironmentTypeInner get(String resourceGroupName, String projectName, String environmentTypeName)

Gets a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.

Returns:

a project environment type.

getWithResponse

public abstract Response<ProjectEnvironmentTypeInner> getWithResponse(String resourceGroupName, String projectName, String environmentTypeName, Context context)

Gets a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
context - The context to associate with this operation.

Returns:

a project environment type along with Response<T>.

list

public abstract PagedIterable<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName)

Lists environment types for a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.

Returns:

result of the project environment type list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ProjectEnvironmentTypeInner> list(String resourceGroupName, String projectName, Integer top, Context context)

Lists environment types for a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

result of the project environment type list operation as paginated response with PagedIterable<T>.

update

public abstract ProjectEnvironmentTypeInner update(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body)

Partially updates a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
body - Updatable project environment type properties.

Returns:

represents an environment type.

updateWithResponse

public abstract Response<ProjectEnvironmentTypeInner> updateWithResponse(String resourceGroupName, String projectName, String environmentTypeName, ProjectEnvironmentTypeUpdate body, Context context)

Partially updates a project environment type.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
environmentTypeName - The name of the environment type.
body - Updatable project environment type properties.
context - The context to associate with this operation.

Returns:

represents an environment type along with Response<T>.

Applies to