Interface ProjectAllowedEnvironmentTypes
public interface ProjectAllowedEnvironmentTypes
Resource collection API of ProjectAllowedEnvironmentTypes.
-
Method Summary
Modifier and TypeMethodDescriptionGets an allowed environment type.com.azure.core.http.rest.Response<AllowedEnvironmentType>
getWithResponse
(String resourceGroupName, String projectName, String environmentTypeName, com.azure.core.util.Context context) Gets an allowed environment type.com.azure.core.http.rest.PagedIterable<AllowedEnvironmentType>
Lists allowed environment types for a project.com.azure.core.http.rest.PagedIterable<AllowedEnvironmentType>
list
(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) Lists allowed environment types for a project.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AllowedEnvironmentType> list(String resourceGroupName, String projectName) Lists allowed 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 allowed 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.
-
list
com.azure.core.http.rest.PagedIterable<AllowedEnvironmentType> list(String resourceGroupName, String projectName, Integer top, com.azure.core.util.Context context) Lists allowed 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 allowed 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.
-
getWithResponse
com.azure.core.http.rest.Response<AllowedEnvironmentType> getWithResponse(String resourceGroupName, String projectName, String environmentTypeName, com.azure.core.util.Context context) Gets an allowed 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:
- an allowed 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.
-
get
AllowedEnvironmentType get(String resourceGroupName, String projectName, String environmentTypeName) Gets an allowed 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:
- an allowed 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.
-