Interface FarmBeatsModelsClient
public interface FarmBeatsModelsClient
An instance of this class provides access to all the operations defined in FarmBeatsModelsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FarmBeatsInner>, FarmBeatsInner> beginUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body) Update a FarmBeats resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FarmBeatsInner>, FarmBeatsInner> beginUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body, com.azure.core.util.Context context) Update a FarmBeats resource.createOrUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsInner body) Create or update FarmBeats resource.com.azure.core.http.rest.Response<FarmBeatsInner> createOrUpdateWithResponse(String resourceGroupName, String farmBeatsResourceName, FarmBeatsInner body, com.azure.core.util.Context context) Create or update FarmBeats resource.voidDelete a FarmBeats resource.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Delete a FarmBeats resource.getByResourceGroup(String resourceGroupName, String farmBeatsResourceName) Get FarmBeats resource.com.azure.core.http.rest.Response<FarmBeatsInner> getByResourceGroupWithResponse(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get FarmBeats resource.com.azure.core.http.rest.PagedIterable<FarmBeatsInner> list()Lists the FarmBeats instances for a subscription.com.azure.core.http.rest.PagedIterable<FarmBeatsInner> Lists the FarmBeats instances for a subscription.com.azure.core.http.rest.PagedIterable<FarmBeatsInner> listByResourceGroup(String resourceGroupName) Lists the FarmBeats instances for a resource group.com.azure.core.http.rest.PagedIterable<FarmBeatsInner> listByResourceGroup(String resourceGroupName, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Lists the FarmBeats instances for a resource group.update(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body) Update a FarmBeats resource.update(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body, com.azure.core.util.Context context) Update a FarmBeats resource.
-
Method Details
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<FarmBeatsInner> getByResourceGroupWithResponse(String resourceGroupName, String farmBeatsResourceName, com.azure.core.util.Context context) Get FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.context- The context to associate with this operation.- Returns:
- farmBeats resource 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.
-
getByResourceGroup
Get FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.- Returns:
- farmBeats resource.
- 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<FarmBeatsInner> createOrUpdateWithResponse(String resourceGroupName, String farmBeatsResourceName, FarmBeatsInner body, com.azure.core.util.Context context) Create or update FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- FarmBeats resource create or update request object.context- The context to associate with this operation.- Returns:
- farmBeats ARM Resource 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
FarmBeatsInner createOrUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsInner body) Create or update FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- FarmBeats resource create or update request object.- Returns:
- farmBeats ARM Resource.
- 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FarmBeatsInner>,FarmBeatsInner> beginUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body) Update a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- Request object.- Returns:
- the
SyncPollerfor polling of farmBeats ARM Resource. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<FarmBeatsInner>,FarmBeatsInner> beginUpdate(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body, com.azure.core.util.Context context) Update a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- Request object.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of farmBeats ARM Resource. - 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
FarmBeatsInner update(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body) Update a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- Request object.- Returns:
- farmBeats ARM Resource.
- 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
FarmBeatsInner update(String resourceGroupName, String farmBeatsResourceName, FarmBeatsUpdateRequestModel body, com.azure.core.util.Context context) Update a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.body- Request object.context- The context to associate with this operation.- Returns:
- farmBeats ARM Resource.
- 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 farmBeatsResourceName, com.azure.core.util.Context context) Delete a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.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.
-
delete
Delete a FarmBeats resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.farmBeatsResourceName- FarmBeats resource name.- 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<FarmBeatsInner> list()Lists the FarmBeats instances for a subscription.- Returns:
- paged response contains list of requested objects and a URL link to get the next set of results 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<FarmBeatsInner> list(Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Lists the FarmBeats instances for a subscription.- Parameters:
maxPageSize- Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.skipToken- Skip token for getting next set of results.context- The context to associate with this operation.- Returns:
- paged response contains list of requested objects and a URL link to get the next set of results 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<FarmBeatsInner> listByResourceGroup(String resourceGroupName) Lists the FarmBeats instances for a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.- Returns:
- paged response contains list of requested objects and a URL link to get the next set of results 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<FarmBeatsInner> listByResourceGroup(String resourceGroupName, Integer maxPageSize, String skipToken, com.azure.core.util.Context context) Lists the FarmBeats instances for a resource group.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.maxPageSize- Maximum number of items needed (inclusive). Minimum = 10, Maximum = 1000, Default value = 50.skipToken- Continuation token for getting next set of results.context- The context to associate with this operation.- Returns:
- paged response contains list of requested objects and a URL link to get the next set of results 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.
-