ResourceGroups Interface
Implements
public interface ResourceGroups
extends SupportsListing<ResourceGroup>, SupportsListingByTag<ResourceGroup>, SupportsGettingByName<ResourceGroup>, SupportsCreating<Blank>, SupportsDeletingByName, SupportsBeginDeletingByName, SupportsBatchCreation<ResourceGroup>
Entry point to resource group management API.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
checkExistence(String name)
Deprecated
Use contain() instead.
Checks whether resource group exists. |
abstract boolean |
contain(String name)
Checks whether resource group exists. |
abstract void |
deleteByName(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes)
Deletes a resource from Azure, identifying it by its resource name. |
abstract rx.Completable |
deleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes)
Asynchronously delete a resource from Azure, identifying it by its resource name. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
deleteByNameAsync(String name, Collection<ForceDeletionResourceType> forceDeletionResourceTypes, ServiceCallback<Void> callback)
Asynchronously delete a resource from Azure, identifying it by its resource name. |
Method Details
checkExistence
public abstract boolean checkExistence(String name)
Deprecated
Checks whether resource group exists.
Parameters:
Returns:
contain
public abstract boolean contain(String name)
Checks whether resource group exists.
Parameters:
Returns:
deleteByName
public abstract void deleteByName(String name, Collection
Deletes a resource from Azure, identifying it by its resource name.
Parameters:
deleteByNameAsync
public abstract Completable deleteByNameAsync(String name, Collection
Asynchronously delete a resource from Azure, identifying it by its resource name.
Parameters:
Returns:
deleteByNameAsync
public abstract ServiceFuture
Asynchronously delete a resource from Azure, identifying it by its resource name.
Parameters:
Returns: