Interface ResourceGroups

    • Method Detail

      • contain

        boolean contain​(String name)
        Checks whether resource group exists.
        Parameters:
        name - the name (case insensitive) of the resource group to check for
        Returns:
        true of exists, otherwise false
      • beginDeleteByName

        Accepted<Void> beginDeleteByName​(String name)
        Begins deleting a resource group from Azure, identifying it by its name.
        Parameters:
        name - the resource group name
        Returns:
        the accepted deleting operation
      • beginDeleteByName

        Accepted<Void> beginDeleteByName​(String name,
                                         Collection<ForceDeletionResourceType> forceDeletionResourceTypes)
        Begins deleting a resource group from Azure, identifying it by its name.
        Parameters:
        name - the resource group name
        forceDeletionResourceTypes - resource types for force deletion
        Returns:
        the accepted deleting operation
      • deleteByName

        void deleteByName​(String name,
                          Collection<ForceDeletionResourceType> forceDeletionResourceTypes)
        Deletes a resource from Azure, identifying it by its resource name.
        Parameters:
        name - the name of the resource to delete
        forceDeletionResourceTypes - resource types for force deletion
      • deleteByNameAsync

        Mono<Void> deleteByNameAsync​(String name,
                                     Collection<ForceDeletionResourceType> forceDeletionResourceTypes)
        Asynchronously delete a resource from Azure, identifying it by its resource name.
        Parameters:
        name - the name of the resource to delete
        forceDeletionResourceTypes - resource types for force deletion
        Returns:
        a handle to cancel the request