Interface SupportsDeletingById
-
- All Known Subinterfaces:
Deployments,GenericResources,PolicyAssignments,PolicyDefinitions
public interface SupportsDeletingByIdProvides access to deleting a resource from Azure, identifying it by its resource ID.(Note: this interface is not intended to be implemented by user code)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteById(String id)Deletes a resource from Azure, identifying it by its resource ID.rx.CompletabledeleteByIdAsync(String id)Asynchronously delete a resource from Azure, identifying it by its resource ID.com.microsoft.rest.ServiceFuture<Void>deleteByIdAsync(String id, com.microsoft.rest.ServiceCallback<Void> callback)Asynchronously delete a resource from Azure, identifying it by its resource ID.
-
-
-
Method Detail
-
deleteById
void deleteById(String id)
Deletes a resource from Azure, identifying it by its resource ID.- Parameters:
id- the resource ID of the resource to delete
-
deleteByIdAsync
com.microsoft.rest.ServiceFuture<Void> deleteByIdAsync(String id, com.microsoft.rest.ServiceCallback<Void> callback)
Asynchronously delete a resource from Azure, identifying it by its resource ID.- Parameters:
id- the resource ID of the resource to deletecallback- the callback on success or failure- Returns:
- a handle to cancel the request
-
deleteByIdAsync
rx.Completable deleteByIdAsync(String id)
Asynchronously delete a resource from Azure, identifying it by its resource ID.- Parameters:
id- the resource ID of the resource to delete- Returns:
- a representation of the deferred computation of this call
-
-