You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 76d67df
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/api-references-create-manage-instance.md
+14-9Lines changed: 14 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,15 +87,20 @@ To create and configure managed instances, use these REST API requests.
87
87
88
88
| Command | Description |
89
89
| --- | --- |
90
-
|[Managed Instances - Create Or Update](/rest/api/sql/managedinstances/createorupdate)|Creates or updates a managed instance.|
91
-
|[Managed Instances - Delete](/rest/api/sql/managedinstances/delete)|Deletes a managed instance.|
92
-
|[Managed Instances - Get](/rest/api/sql/managedinstances/get)|Gets a managed instance.|
93
-
|[Managed Instances - List](/rest/api/sql/managedinstances/list)|Returns a list of managed instances in a subscription.|
94
-
|[Managed Instances - List By Resource Group](/rest/api/sql/managedinstances/listbyresourcegroup)|Returns a list of managed instances in a resource group.|
95
-
|[Managed Instances - Update](/rest/api/sql/managedinstances/update)|Updates a managed instance.|
96
-
|[Managed Instance Operations - List By Managed Instance](/rest/api/sql/managedinstanceoperations/listbymanagedinstance)|Gets a list of management operations performed on the managed instance.|
97
-
|[Managed Instance Operations - Get](/rest/api/sql/managedinstanceoperations/get)|Gets the specific management operation performed on the managed instance.|
98
-
|[Managed Instance Operations - Cancel](/rest/api/sql/managedinstanceoperations/cancel)|Cancels the specific management operation performed on the managed instance.|
90
+
|[SQL Managed Instance - Create Or Update](/rest/api/sql/managedinstances/createorupdate)|Creates or updates a managed instance.|
91
+
|[SQL Managed Instance - Delete](/rest/api/sql/managedinstances/delete)|Deletes a managed instance.|
92
+
|[SQL Managed Instance - Get](/rest/api/sql/managedinstances/get)|Gets a managed instance.|
93
+
|[SQL Managed Instance - Stop](/rest/api/sql/2022-08-01-preview/managed-instances/stop)| Stops a managed instance. |
94
+
|[SQL Managed Instance - Start](/rest/api/sql/2022-08-01-preview/managed-instances/start)| Starts a managed instance |
95
+
|[SQL Managed Instance - List](/rest/api/sql/managedinstances/list)|Returns a list of managed instances in a subscription.|
96
+
|[SQL Managed Instance - List By Resource Group](/rest/api/sql/managedinstances/listbyresourcegroup)|Returns a list of managed instances in a resource group.|
97
+
|[SQL Managed Instance - Update](/rest/api/sql/managedinstances/update)|Updates a managed instance.|
98
+
|[SQL Managed Instance operations - List By Managed Instance](/rest/api/sql/managedinstanceoperations/listbymanagedinstance)|Gets a list of management operations performed on the managed instance.|
99
+
|[SQL Managed Instance operations - Get](/rest/api/sql/managedinstanceoperations/get)|Gets the specific management operation performed on the managed instance.|
100
+
|[SQL Managed Instance operations - Cancel](/rest/api/sql/managedinstanceoperations/cancel)|Cancels the specific management operation performed on the managed instance.|
101
+
|[SQL Managed Instance - Start/stop schedule- Create Or Update](/rest/api/sql/2022-08-01-preview/start-stop-managed-instance-schedules/create-or-update)| Creates or updates a start and stop managed instance schedule. |
102
+
|[SQL Managed Instance - Start/stop schedule - Get](/rest/api/sql/2022-08-01-preview/start-stop-managed-instance-schedules/get)| Gets an existing start and stop managed instance schedule. |
103
+
|[SQL Managed Instance - Start/stop schedule - Delete](/rest/api/sql/2022-08-01-preview/start-stop-managed-instance-schedules/delete) Deletes an existing start and stop managed instance schedule. |
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/instance-stop-start-how-to.md
+83-32Lines changed: 83 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: This article describes the stop and start feature of Azure SQL Mana
4
4
author: urosmil
5
5
ms.author: urmilano
6
6
ms.reviewer: mathoma
7
-
ms.date: 11/16/2022
7
+
ms.date: 06/28/2023
8
8
ms.service: sql-managed-instance
9
9
ms.subservice: deployment-configuration
10
10
ms.topic: conceptual
@@ -44,6 +44,9 @@ This feature introduces three new managed instance states, as the following diag
44
44
45
45
After the stop operation is initiated, it typically takes about 5 minutes to stop the instance. However, starting an instance takes about 20 minutes from the moment the start operation is initiated.
46
46
47
+
> [!NOTE]
48
+
> When you create a managed instance, start a stopped managed instance, or resize a managed instance (such as changing the service tier, storage, hardware generation, or number of vCores), Azure allocates compute resources to the underlying Virtual Cluster. While there is continual investment in additional infrastructure to support customer demand, there may be occasional resource allocation failures from unprecedented growth of demand for Azure services in specific regions. This may result in a prolonged operation duration (around 4h if there's a new Virtual Cluster buildout, in accordance with [management operation durations](management-operations-overview.md)), or a failure to start the instance - in which case you should try again later.
49
+
47
50
Only managed instances in a ready state can be stopped. After the instance is stopped, it stays in a stopped state until a start operation is initiated, either manually or triggered with a defined schedule. Only instances that are in a stopped state can be started.
To create or update a schedule to stop and start a managed instance call the following API and adjust the body content to match your schedule:
348
+
349
+
```http
350
+
PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/default?api-version=2022-08-01-preview
351
+
352
+
{
353
+
"properties": {
354
+
"timeZoneId": "Central European Standard Time",
355
+
"description": "This is a schedule for our Dev/Test environment.",
356
+
"scheduleList": [
357
+
{
358
+
"startDay": "Monday",
359
+
"startTime": "07:30",
360
+
"stopDay": "Wednesday",
361
+
"stopTime": "17:00"
362
+
},
363
+
{
364
+
"startDay": "Thursday",
365
+
"startTime": "15:00",
366
+
"stopDay": "Friday",
367
+
"stopTime": "15:00"
368
+
}
369
+
]
370
+
}
371
+
}
372
+
```
373
+
374
+
[Start Stop Managed Instance Schedules - Create Or Update](/rest/api/sql/2022-08-01-preview/start-stop-managed-instance-schedules/create-or-update)
346
375
347
-
`DELETE
376
+
377
+
#### Check a schedule
378
+
379
+
To check an existing schedule, call the following API:
Copy file name to clipboardExpand all lines: azure-sql/managed-instance/resource-limits.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: This article provides an overview of the resource limits for Azure
5
5
author: vladai78
6
6
ms.author: vladiv
7
7
ms.reviewer: mathoma, vladiv, sachinp, wiassaf
8
-
ms.date: 04/10/2023
8
+
ms.date: 06/20/2023
9
9
ms.service: sql-managed-instance
10
10
ms.subservice: service-overview
11
11
ms.topic: reference
@@ -147,7 +147,7 @@ In the General Purpose service tier, every database file gets dedicated IOPS and
147
147
148
148
|**File size**|**>=0 and <=129 GiB**|**>129 and <=513 GiB**|**>513 and <=1025 GiB**|**>1025 and <=2049 GiB**|**>2049 and <=4097 GiB**|**>4097 GiB and <=8 TiB**|
If you notice high IO latency on some database file or you see that IOPS/throughput is reaching the limit, you might improve performance by [increasing the file size](https://techcommunity.microsoft.com/t5/Azure-SQL-Database/Increase-data-file-size-to-improve-HammerDB-workload-performance/ba-p/823337).
0 commit comments