Interface ResourceHealthMetadatasClient

    • Method Detail

      • list

        com.azure.core.http.rest.PagedIterable<ResourceHealthMetadataInner> list​(com.azure.core.util.Context context)
        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.
        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)
        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.
        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)
        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.
        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)
        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.
        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)
        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.
        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)
        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.
      • getBySiteAsync

        Mono<ResourceHealthMetadataInner> getBySiteAsync​(String resourceGroupName,
                                                         String name)
        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.
      • getBySite

        ResourceHealthMetadataInner getBySite​(String resourceGroupName,
                                              String name)
        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.
      • getBySiteWithResponse

        com.azure.core.http.rest.Response<ResourceHealthMetadataInner> getBySiteWithResponse​(String resourceGroupName,
                                                                                             String name,
                                                                                             com.azure.core.util.Context context)
        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.
        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)
        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.
        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)
        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.
        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)
        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.
        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)
        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.
      • getBySiteSlotAsync

        Mono<ResourceHealthMetadataInner> getBySiteSlotAsync​(String resourceGroupName,
                                                             String name,
                                                             String slot)
        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.
      • getBySiteSlot

        ResourceHealthMetadataInner getBySiteSlot​(String resourceGroupName,
                                                  String name,
                                                  String slot)
        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.
      • getBySiteSlotWithResponse

        com.azure.core.http.rest.Response<ResourceHealthMetadataInner> getBySiteSlotWithResponse​(String resourceGroupName,
                                                                                                 String name,
                                                                                                 String slot,
                                                                                                 com.azure.core.util.Context context)
        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.
        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.