Interface EnvironmentTypesClient
public interface EnvironmentTypesClient
An instance of this class provides access to all the operations defined in EnvironmentTypesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeInner body) Creates or updates an environment type.com.azure.core.http.rest.Response<EnvironmentTypeInner>
createOrUpdateWithResponse
(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeInner body, com.azure.core.util.Context context) Creates or updates an environment type.void
Deletes an environment type.com.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String devCenterName, String environmentTypeName, com.azure.core.util.Context context) Deletes an environment type.Gets an environment type.com.azure.core.http.rest.Response<EnvironmentTypeInner>
getWithResponse
(String resourceGroupName, String devCenterName, String environmentTypeName, com.azure.core.util.Context context) Gets an environment type.com.azure.core.http.rest.PagedIterable<EnvironmentTypeInner>
listByDevCenter
(String resourceGroupName, String devCenterName) Lists environment types for the devcenter.com.azure.core.http.rest.PagedIterable<EnvironmentTypeInner>
listByDevCenter
(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) Lists environment types for the devcenter.update
(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeUpdate body) Partially updates an environment type.com.azure.core.http.rest.Response<EnvironmentTypeInner>
updateWithResponse
(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeUpdate body, com.azure.core.util.Context context) Partially updates an environment type.
-
Method Details
-
listByDevCenter
com.azure.core.http.rest.PagedIterable<EnvironmentTypeInner> listByDevCenter(String resourceGroupName, String devCenterName) Lists environment types for the devcenter.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.- Returns:
- result of the environment type list operation as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listByDevCenter
com.azure.core.http.rest.PagedIterable<EnvironmentTypeInner> listByDevCenter(String resourceGroupName, String devCenterName, Integer top, com.azure.core.util.Context context) Lists environment types for the devcenter.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.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 environment type list operation as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
EnvironmentTypeInner get(String resourceGroupName, String devCenterName, String environmentTypeName) Gets an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.- Returns:
- an environment type.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<EnvironmentTypeInner> getWithResponse(String resourceGroupName, String devCenterName, String environmentTypeName, com.azure.core.util.Context context) Gets an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.context
- The context to associate with this operation.- Returns:
- an environment type along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
EnvironmentTypeInner createOrUpdate(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeInner body) Creates or updates an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.body
- Represents an Environment Type.- Returns:
- represents an environment type.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<EnvironmentTypeInner> createOrUpdateWithResponse(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeInner body, com.azure.core.util.Context context) Creates or updates an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.body
- Represents an Environment Type.context
- The context to associate with this operation.- Returns:
- represents an environment type along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
EnvironmentTypeInner update(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeUpdate body) Partially updates an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.body
- Updatable environment type properties.- Returns:
- represents an environment type.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- 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<EnvironmentTypeInner> updateWithResponse(String resourceGroupName, String devCenterName, String environmentTypeName, EnvironmentTypeUpdate body, com.azure.core.util.Context context) Partially updates an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.body
- Updatable environment type properties.context
- The context to associate with this operation.- Returns:
- represents an environment type along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String devCenterName, String environmentTypeName, com.azure.core.util.Context context) Deletes an environment type.- Parameters:
resourceGroupName
- Name of the resource group within the Azure subscription.devCenterName
- The name of the devcenter.environmentTypeName
- The name of the environment type.context
- The context to associate with this operation.- Returns:
- the
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-