Interface ResourceGroups

All Superinterfaces:
HasManager<ResourceManager>, SupportsBatchCreation<ResourceGroup>, SupportsCreating<ResourceGroup.DefinitionStages.Blank>, SupportsDeletingByName, SupportsGettingByName<ResourceGroup>, SupportsListing<ResourceGroup>, SupportsListingByTag<ResourceGroup>

Entry point to resource group management API.
  • Method Details

    • 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

      default Accepted<Void> beginDeleteByName(String name, com.azure.core.util.Context context)
      Begins deleting a resource group from Azure, identifying it by its name.
      Parameters:
      name - the resource group name
      context - the Context of the request
      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
    • beginDeleteByName

      default Accepted<Void> beginDeleteByName(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes, com.azure.core.util.Context context)
      Begins deleting a resource group from Azure, identifying it by its name.
      Parameters:
      name - the resource group name
      forceDeletionResourceTypes - resource types for force deletion
      context - the Context of the request
      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