Interface TimeZonesClient
public interface TimeZonesClient
An instance of this class provides access to all the operations defined in TimeZonesClient.
-
Method Summary
Modifier and TypeMethodDescriptionGets a managed instance time zone.Gets a managed instance time zone.com.azure.core.http.rest.Response<TimeZoneInner> getWithResponse(String locationName, String timeZoneId, com.azure.core.util.Context context) Gets a managed instance time zone.Mono<com.azure.core.http.rest.Response<TimeZoneInner>> getWithResponseAsync(String locationName, String timeZoneId) Gets a managed instance time zone.com.azure.core.http.rest.PagedIterable<TimeZoneInner> listByLocation(String locationName) Gets a list of managed instance time zones by location.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.com.azure.core.http.rest.PagedFlux<TimeZoneInner> listByLocationAsync(String locationName) Gets a list of managed instance time zones by location.
-
Method Details
-
listByLocationAsync
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
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
Responseon successful completion ofMono. - 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
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
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.
-