Interface ResourceHealthMetadatasClient

All Superinterfaces:
InnerSupportsListing<ResourceHealthMetadataInner>

public interface ResourceHealthMetadatasClient extends InnerSupportsListing<ResourceHealthMetadataInner>
An instance of this class provides access to all the operations defined in ResourceHealthMetadatasClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<ResourceHealthMetadataInner> listAsync()
      List all ResourceHealthMetadata for all sites in the subscription. Description for List all ResourceHealthMetadata for all sites in the subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<ResourceHealthMetadataInner>
      Returns:
      collection of resource health metadata as paginated response with PagedFlux.
      Throws:
      DefaultErrorResponseErrorException - 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<ResourceHealthMetadataInner> list()
      List all ResourceHealthMetadata for all sites in the subscription. Description for List all ResourceHealthMetadata for all sites in the subscription.
      Specified by:
      list in interface InnerSupportsListing<ResourceHealthMetadataInner>
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      DefaultErrorResponseErrorException - 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<ResourceHealthMetadataInner> list(com.azure.core.util.Context context)
      List all ResourceHealthMetadata for all sites in the subscription. Description for List all ResourceHealthMetadata for all sites in the subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<ResourceHealthMetadataInner> listByResourceGroupAsync(String resourceGroupName)
      List all ResourceHealthMetadata for all sites in the resource group in the subscription. Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<ResourceHealthMetadataInner>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      Returns:
      collection of resource health metadata as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ResourceHealthMetadataInner> listByResourceGroup(String resourceGroupName)
      List all ResourceHealthMetadata for all sites in the resource group in the subscription. Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<ResourceHealthMetadataInner>
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - 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<ResourceHealthMetadataInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      List all ResourceHealthMetadata for all sites in the resource group in the subscription. Description for List all ResourceHealthMetadata for all sites in the resource group in the subscription.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      context - The context to associate with this operation.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySiteAsync

      com.azure.core.http.rest.PagedFlux<ResourceHealthMetadataInner> listBySiteAsync(String resourceGroupName, String name)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      Returns:
      collection of resource health metadata as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySite

      com.azure.core.http.rest.PagedIterable<ResourceHealthMetadataInner> listBySite(String resourceGroupName, String name)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySite

      com.azure.core.http.rest.PagedIterable<ResourceHealthMetadataInner> listBySite(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      context - The context to associate with this operation.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ResourceHealthMetadataInner>> getBySiteWithResponseAsync(String resourceGroupName, String name)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      Returns:
      used for getting ResourceHealthCheck settings along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteAsync

      Mono<ResourceHealthMetadataInner> getBySiteAsync(String resourceGroupName, String name)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      Returns:
      used for getting ResourceHealthCheck settings on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteWithResponse

      com.azure.core.http.rest.Response<ResourceHealthMetadataInner> getBySiteWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      context - The context to associate with this operation.
      Returns:
      used for getting ResourceHealthCheck settings along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySite

      ResourceHealthMetadataInner getBySite(String resourceGroupName, String name)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      Returns:
      used for getting ResourceHealthCheck settings.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySiteSlotAsync

      com.azure.core.http.rest.PagedFlux<ResourceHealthMetadataInner> listBySiteSlotAsync(String resourceGroupName, String name, String slot)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      Returns:
      collection of resource health metadata as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySiteSlot

      com.azure.core.http.rest.PagedIterable<ResourceHealthMetadataInner> listBySiteSlot(String resourceGroupName, String name, String slot)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listBySiteSlot

      com.azure.core.http.rest.PagedIterable<ResourceHealthMetadataInner> listBySiteSlot(String resourceGroupName, String name, String slot, com.azure.core.util.Context context)
      Gets the category of ResourceHealthMetadata to use for the given site as a collection Description for Gets the category of ResourceHealthMetadata to use for the given site as a collection.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      context - The context to associate with this operation.
      Returns:
      collection of resource health metadata as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteSlotWithResponseAsync

      Mono<com.azure.core.http.rest.Response<ResourceHealthMetadataInner>> getBySiteSlotWithResponseAsync(String resourceGroupName, String name, String slot)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      Returns:
      used for getting ResourceHealthCheck settings along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteSlotAsync

      Mono<ResourceHealthMetadataInner> getBySiteSlotAsync(String resourceGroupName, String name, String slot)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      Returns:
      used for getting ResourceHealthCheck settings on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteSlotWithResponse

      com.azure.core.http.rest.Response<ResourceHealthMetadataInner> getBySiteSlotWithResponse(String resourceGroupName, String name, String slot, com.azure.core.util.Context context)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      context - The context to associate with this operation.
      Returns:
      used for getting ResourceHealthCheck settings along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBySiteSlot

      ResourceHealthMetadataInner getBySiteSlot(String resourceGroupName, String name, String slot)
      Gets the category of ResourceHealthMetadata to use for the given site Description for Gets the category of ResourceHealthMetadata to use for the given site.
      Parameters:
      resourceGroupName - Name of the resource group to which the resource belongs.
      name - Name of web app.
      slot - Name of web app slot. If not specified then will default to production slot.
      Returns:
      used for getting ResourceHealthCheck settings.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      DefaultErrorResponseErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.