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.
Modifier and Type | Method and Description |
---|---|
abstract boolean |
check Deprecated
Use contain() instead.
Checks whether resource group exists. |
abstract boolean |
contain(String name)
Checks whether resource group exists. |
abstract void |
delete Deletes a resource from Azure, identifying it by its resource name. |
abstract rx.Completable |
delete Asynchronously delete a resource from Azure, identifying it by its resource name. |
abstract com.microsoft.rest.ServiceFuture<java.lang.Void> |
delete Asynchronously delete a resource from Azure, identifying it by its resource name. |
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:
Azure SDK for Java feedback
Azure SDK for Java is an open source project. Select a link to provide feedback: