Interface TimeZonesClient


public interface TimeZonesClient
An instance of this class provides access to all the operations defined in TimeZonesClient.
  • Method Details

    • listByLocationAsync

      com.azure.core.http.rest.PagedFlux<TimeZoneInner> listByLocationAsync(String locationName)
      Gets a list of managed instance time zones by location.
      Parameters:
      locationName - The locationName parameter.
      Returns:
      a list of managed instance time zones by location as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByLocation

      com.azure.core.http.rest.PagedIterable<TimeZoneInner> listByLocation(String locationName)
      Gets a list of managed instance time zones by location.
      Parameters:
      locationName - The locationName parameter.
      Returns:
      a list of managed instance time zones by location as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByLocation

      com.azure.core.http.rest.PagedIterable<TimeZoneInner> listByLocation(String locationName, com.azure.core.util.Context context)
      Gets a list of managed instance time zones by location.
      Parameters:
      locationName - The locationName parameter.
      context - The context to associate with this operation.
      Returns:
      a list of managed instance time zones by location as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponseAsync

      Mono<com.azure.core.http.rest.Response<TimeZoneInner>> getWithResponseAsync(String locationName, String timeZoneId)
      Gets a managed instance time zone.
      Parameters:
      locationName - The locationName parameter.
      timeZoneId - The timeZoneId parameter.
      Returns:
      a managed instance time zone along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAsync

      Mono<TimeZoneInner> getAsync(String locationName, String timeZoneId)
      Gets a managed instance time zone.
      Parameters:
      locationName - The locationName parameter.
      timeZoneId - The timeZoneId parameter.
      Returns:
      a managed instance time zone on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getWithResponse

      com.azure.core.http.rest.Response<TimeZoneInner> getWithResponse(String locationName, String timeZoneId, com.azure.core.util.Context context)
      Gets a managed instance time zone.
      Parameters:
      locationName - The locationName parameter.
      timeZoneId - The timeZoneId parameter.
      context - The context to associate with this operation.
      Returns:
      a managed instance time zone along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      TimeZoneInner get(String locationName, String timeZoneId)
      Gets a managed instance time zone.
      Parameters:
      locationName - The locationName parameter.
      timeZoneId - The timeZoneId parameter.
      Returns:
      a managed instance time zone.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.