Interface SupportsGettingById<T>

Type Parameters:
T - the type of the resource collection
All Known Subinterfaces:
DeploymentOperations, Deployments, GenericResources, ManagementLocks, PolicyAssignments, Subscriptions

public interface SupportsGettingById<T>
Provides access to getting a specific Azure resource based on its resource ID.

(Note this interface is not intended to be implemented by user code.)

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the information about a resource from Azure based on the resource id.
    Gets the information about a resource from Azure based on the resource id.
  • Method Details

    • getById

      T getById(String id)
      Gets the information about a resource from Azure based on the resource id.
      Parameters:
      id - the id of the resource.
      Returns:
      an immutable representation of the resource
    • getByIdAsync

      Mono<T> getByIdAsync(String id)
      Gets the information about a resource from Azure based on the resource id.
      Parameters:
      id - the id of the resource.
      Returns:
      a Mono that emits the found resource asynchronously