Interface FarmBeatsModels


public interface FarmBeatsModels
Resource collection API of FarmBeatsModels.
  • Method Details

    • getByResourceGroup

      FarmBeats getByResourceGroup(String resourceGroupName, String farmBeatsResourceName)
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<FarmBeats> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(String resourceGroupName, String farmBeatsResourceName)
      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.
    • 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.
    • list

      com.azure.core.http.rest.PagedIterable<FarmBeats> 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<FarmBeats> 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<FarmBeats> 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<FarmBeats> 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.
    • getOperationResult

      ArmAsyncOperation getOperationResult(String resourceGroupName, String farmBeatsResourceName, String operationResultsId)
      Get operationResults for a FarmBeats resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      farmBeatsResourceName - FarmBeats resource name.
      operationResultsId - The operation results id.
      Returns:
      operationResults for a 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.
    • getOperationResultWithResponse

      com.azure.core.http.rest.Response<ArmAsyncOperation> getOperationResultWithResponse(String resourceGroupName, String farmBeatsResourceName, String operationResultsId, com.azure.core.util.Context context)
      Get operationResults for a FarmBeats resource.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      farmBeatsResourceName - FarmBeats resource name.
      operationResultsId - The operation results id.
      context - The context to associate with this operation.
      Returns:
      operationResults for a 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.
    • getById

      FarmBeats getById(String id)
      Get FarmBeats resource.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<FarmBeats> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get FarmBeats resource.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete a FarmBeats resource.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete a FarmBeats resource.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new FarmBeats resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new FarmBeats definition.