TimeZonesOperations Class
Warning
DO NOT instantiate this class directly.
Instead, you should access the following operations through
<xref:time_zones> attribute.
Constructor
TimeZonesOperations(*args, **kwargs)
Methods
| get |
Gets a managed instance time zone. |
| list_by_location |
Gets a list of managed instance time zones by location. |
get
Gets a managed instance time zone.
async get(location_name: str, time_zone_id: str, **kwargs: Any) -> TimeZone
Parameters
| Name | Description |
|---|---|
|
location_name
Required
|
Required. |
|
time_zone_id
Required
|
Required. |
Returns
| Type | Description |
|---|---|
|
TimeZone or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
list_by_location
Gets a list of managed instance time zones by location.
list_by_location(location_name: str, **kwargs: Any) -> AsyncItemPaged[TimeZone]
Parameters
| Name | Description |
|---|---|
|
location_name
Required
|
Required. |
Returns
| Type | Description |
|---|---|
|
An iterator like instance of either TimeZone or the result of cls(response) |
Exceptions
| Type | Description |
|---|---|
Attributes
models
models = <module 'azure.mgmt.sql.models' from 'C:\\ToolCache\\Python\\3.12.10\\x64\\Lib\\site-packages\\py2docfx\\venv\\venv268\\Lib\\site-packages\\azure\\mgmt\\sql\\models\\__init__.py'>