Interface SupportsDeletingById

All Known Subinterfaces:
ActionGroups, ActiveDirectoryApplications, ActiveDirectoryGroups, ActiveDirectoryUsers, ActivityLogAlerts, ApplicationGateways, ApplicationSecurityGroups, AppServiceCertificateOrders, AppServiceCertificates, AppServiceDomains, AppServicePlans, AutoscaleSettings, AvailabilitySets, BatchAccounts, BatchAIClusters, BatchAIExperiments, BatchAIFileServers, BatchAIJobs, BatchAIWorkspaces, CdnProfiles, ContainerGroups, ContainerServices, CosmosDBAccounts, DdosProtectionPlans, Deployments, DeploymentSlots, DiagnosticSettings, Disks, DnsZones, EventHubAuthorizationRules, EventHubConsumerGroups, EventHubDisasterRecoveryPairings, EventHubNamespaceAuthorizationRules, EventHubNamespaces, EventHubs, ExpressRouteCircuitPeerings, ExpressRouteCircuits, ExpressRouteCrossConnectionPeerings, FunctionApps, FunctionDeploymentSlots, GenericResources, Identities, Keys, KubernetesClusters, LoadBalancers, LocalNetworkGateways, ManagementLocks, MetricAlerts, NetworkInterfaces, NetworkPeerings, Networks, NetworkSecurityGroups, NetworkWatchers, PolicyAssignments, PolicyDefinitions, PublicIPAddresses, PublicIPPrefixes, RedisCaches, Registries, RoleAssignments, RouteFilters, RouteTables, SearchServices, Secrets, ServiceBusNamespaces, ServicePrincipals, Snapshots, SqlServers, StorageAccounts, TrafficManagerProfiles, Vaults, VirtualMachineCustomImages, VirtualMachines, VirtualMachineScaleSets, VirtualNetworkGatewayConnections, VirtualNetworkGateways, WebApps

public interface SupportsDeletingById
Provides 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

    Modifier and Type
    Method
    Description
    void
    Deletes a resource from Azure, identifying it by its resource ID.
    rx.Completable
    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 Details

    • 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 delete
      callback - 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