Interface FarmBeatsExtensions
public interface FarmBeatsExtensions
Resource collection API of FarmBeatsExtensions.
-
Method Summary
Modifier and TypeMethodDescriptionGet farmBeats extension.com.azure.core.http.rest.Response<FarmBeatsExtension>
getWithResponse
(String farmBeatsExtensionId, com.azure.core.util.Context context) Get farmBeats extension.com.azure.core.http.rest.PagedIterable<FarmBeatsExtension>
list()
Get list of farmBeats extension.com.azure.core.http.rest.PagedIterable<FarmBeatsExtension>
list
(List<String> farmBeatsExtensionIds, List<String> farmBeatsExtensionNames, List<String> extensionCategories, List<String> publisherIds, Integer maxPageSize, com.azure.core.util.Context context) Get list of farmBeats extension.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<FarmBeatsExtension> list()Get list of farmBeats extension.- Returns:
- list of farmBeats extension as paginated response with
PagedIterable
. - Throws:
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<FarmBeatsExtension> list(List<String> farmBeatsExtensionIds, List<String> farmBeatsExtensionNames, List<String> extensionCategories, List<String> publisherIds, Integer maxPageSize, com.azure.core.util.Context context) Get list of farmBeats extension.- Parameters:
farmBeatsExtensionIds
- FarmBeatsExtension ids.farmBeatsExtensionNames
- FarmBeats extension names.extensionCategories
- Extension categories.publisherIds
- Publisher ids.maxPageSize
- Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.context
- The context to associate with this operation.- Returns:
- list of farmBeats extension 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
Get farmBeats extension.- Parameters:
farmBeatsExtensionId
- farmBeatsExtensionId to be queried.- Returns:
- farmBeats extension.
- 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<FarmBeatsExtension> getWithResponse(String farmBeatsExtensionId, com.azure.core.util.Context context) Get farmBeats extension.- Parameters:
farmBeatsExtensionId
- farmBeatsExtensionId to be queried.context
- The context to associate with this operation.- Returns:
- farmBeats extension 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.
-