Interface SupportsDeletingByName
- All Known Subinterfaces:
AuthorizationRules<RuleT>
,BatchAIClusters
,BatchAIExperiments
,BatchAIFileServers
,BatchAIJobs
,ConnectionMonitors
,DeploymentSlots
,ExpressRouteCircuitPeerings
,ExpressRouteCrossConnectionPeerings
,FunctionDeploymentSlots
,NamespaceAuthorizationRules
,PacketCaptures
,QueueAuthorizationRules
,Queues
,ResourceGroups
,ServiceBusSubscriptions
,TopicAuthorizationRules
,Topics
,VirtualNetworkGatewayConnections
public interface SupportsDeletingByName
Provides access to deleting a resource from Azure, identifying it by its resource name.
(Note: this interface is not intended to be implemented by user code)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteByName
(String name) Deletes a resource from Azure, identifying it by its resource name.rx.Completable
deleteByNameAsync
(String name) Asynchronously delete a resource from Azure, identifying it by its resource name.com.microsoft.rest.ServiceFuture<Void>
deleteByNameAsync
(String name, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a resource from Azure, identifying it by its resource name.
-
Method Details
-
deleteByName
Deletes a resource from Azure, identifying it by its resource name.- Parameters:
name
- the name of the resource to delete
-
deleteByNameAsync
com.microsoft.rest.ServiceFuture<Void> deleteByNameAsync(String name, com.microsoft.rest.ServiceCallback<Void> callback) Asynchronously delete a resource from Azure, identifying it by its resource name.- Parameters:
name
- the name of the resource to deletecallback
- the callback on success or failure- Returns:
- a handle to cancel the request
-
deleteByNameAsync
Asynchronously delete a resource from Azure, identifying it by its resource name.- Parameters:
name
- the name of the resource to delete- Returns:
- a representation of the deferred computation of this call
-