Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 563289a

Browse files
authored
Merge pull request #24319 from WilliamDAssafMSFT/20220922-scale-articles-toc
20220922 add to TOC
2 parents 056628c + 8cd9b45 commit 563289a

3 files changed

Lines changed: 85 additions & 25 deletions

File tree

azure-sql/database/powershell-script-content-guide.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Use Azure PowerShell script examples to help you create and manage
44
author: WilliamDAssafMSFT
55
ms.author: wiassaf
66
ms.reviewer: mathoma
7-
ms.date: 03/25/2019
7+
ms.date: 09/22/2022
88
ms.service: sql-db-mi
99
ms.subservice: development
1010
ms.topic: sample
@@ -13,11 +13,13 @@ ms.devlang: PowerShell
1313
---
1414

1515
# Azure PowerShell samples for Azure SQL Database and Azure SQL Managed Instance
16+
1617
[!INCLUDE[appliesto-sqldb-sqlmi](../includes/appliesto-sqldb-sqlmi.md)]
1718

1819
Azure SQL Database and Azure SQL Managed Instance enable you to configure your databases, instances, and pools using Azure PowerShell.
1920

2021
[!INCLUDE [quickstarts-free-trial-note](../includes/quickstarts-free-trial-note.md)]
22+
2123
[!INCLUDE [cloud-shell-try-it.md](../includes/cloud-shell-try-it.md)]
2224

2325
If you choose to install and use the PowerShell locally, this tutorial requires AZ PowerShell 1.4.0 or later. If you need to upgrade, see [Install Azure PowerShell module](/powershell/azure/install-az-ps). If you are running PowerShell locally, you also need to run `Connect-AzAccount` to create a connection with Azure.
@@ -29,28 +31,27 @@ The following table includes links to sample Azure PowerShell scripts for Azure
2931
|Link|Description|
3032
|---|---|
3133
|**Create and configure single databases and elastic pools**||
32-
| [Create a single database and configure a server-level firewall rule](scripts/create-and-configure-database-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script creates a single database and configures a server-level IP firewall rule. |
33-
| [Create elastic pools and move pooled databases](scripts/move-database-between-elastic-pools-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script creates elastic pools, moves pooled databases, and changes compute sizes.|
34+
| [Create a single database and configure a server-level firewall rule](scripts/create-and-configure-database-powershell.md) | This PowerShell script creates a single database and configures a server-level IP firewall rule. |
35+
| [Create elastic pools and move pooled databases](scripts/move-database-between-elastic-pools-powershell.md) | This PowerShell script creates elastic pools, moves pooled databases, and changes compute sizes.|
3436
|**Configure geo-replication and failover**||
35-
| [Configure and fail over a single database using active geo-replication](scripts/setup-geodr-and-failover-database-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script configures active geo-replication for a single database and fails it over to the secondary replica. |
36-
| [Configure and fail over a pooled database using active geo-replication](scripts/setup-geodr-and-failover-elastic-pool-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script configures active geo-replication for a database in an elastic pool and fails it over to the secondary replica. |
37+
| [Configure and fail over a single database using active geo-replication](scripts/setup-geodr-and-failover-database-powershell.md)| This PowerShell script configures active geo-replication for a single database and fails it over to the secondary replica. |
38+
| [Configure and fail over a pooled database using active geo-replication](scripts/setup-geodr-and-failover-elastic-pool-powershell.md)| This PowerShell script configures active geo-replication for a database in an elastic pool and fails it over to the secondary replica. |
3739
|**Configure a failover group**||
38-
| [Configure a failover group for a single database](scripts/add-database-to-failover-group-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script creates a database and a failover group, adds the database to the failover group, and tests failover to the secondary server. |
39-
| [Configure a failover group for an elastic pool](scripts/add-elastic-pool-to-failover-group-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script creates a database, adds it to an elastic pool, adds the elastic pool to the failover group, and tests failover to the secondary server. |
40+
| [Configure a failover group for a single database](scripts/add-database-to-failover-group-powershell.md) | This PowerShell script creates a database and a failover group, adds the database to the failover group, and tests failover to the secondary server. |
41+
| [Configure a failover group for an elastic pool](scripts/add-elastic-pool-to-failover-group-powershell.md) | This PowerShell script creates a database, adds it to an elastic pool, adds the elastic pool to the failover group, and tests failover to the secondary server. |
4042
|**Scale a single database and an elastic pool**||
41-
| [Scale a single database](scripts/monitor-and-scale-database-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script monitors the performance metrics of a single database, scales it to a higher compute size, and creates an alert rule on one of the performance metrics. |
42-
| [Scale an elastic pool](scripts/monitor-and-scale-pool-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script monitors the performance metrics of an elastic pool, scales it to a higher compute size, and creates an alert rule on one of the performance metrics. |
43+
| [Scale a single database](scripts/monitor-and-scale-database-powershell.md) | This PowerShell script monitors the performance metrics of a single database, scales it to a higher compute size, and creates an alert rule on one of the performance metrics. |
44+
| [Scale an elastic pool](scripts/monitor-and-scale-pool-powershell.md) | This PowerShell script monitors the performance metrics of an elastic pool, scales it to a higher compute size, and creates an alert rule on one of the performance metrics. |
4345
| **Restore, copy, and import a database**||
44-
| [Restore a database](scripts/restore-database-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script restores a database from a geo-redundant backup and restores a deleted database to the latest backup. |
45-
| [Copy a database to a new server](scripts/copy-database-to-new-server-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script creates a copy of an existing database in a new server. |
46-
| [Import a database from a bacpac file](scripts/import-from-bacpac-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script imports a database into Azure SQL Database from a bacpac file. |
46+
| [Restore a database](scripts/restore-database-powershell.md)| This PowerShell script restores a database from a geo-redundant backup and restores a deleted database to the latest backup. |
47+
| [Copy a database to a new server](scripts/copy-database-to-new-server-powershell.md)| This PowerShell script creates a copy of an existing database in a new server. |
48+
| [Import a database from a bacpac file](scripts/import-from-bacpac-powershell.md)| This PowerShell script imports a database into Azure SQL Database from a bacpac file. |
4749
| **Sync data between databases**||
48-
| [Sync data between databases](scripts/sql-data-sync-sync-data-between-sql-databases.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script configures Data Sync to sync between multiple databases in Azure SQL Database. |
49-
| [Sync data between SQL Database and SQL Server on-premises](scripts/sql-data-sync-sync-data-between-azure-onprem.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script configures Data Sync to sync between a database in Azure SQL Database and a SQL Server on-premises database. |
50-
| [Update the SQL Data Sync sync schema](scripts/update-sync-schema-in-sync-group.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script adds or removes items from the Data Sync sync schema. |
50+
| [Sync data between databases](scripts/sql-data-sync-sync-data-between-sql-databases.md) | This PowerShell script configures Data Sync to sync between multiple databases in Azure SQL Database. |
51+
| [Sync data between SQL Database and SQL Server on-premises](scripts/sql-data-sync-sync-data-between-azure-onprem.md) | This PowerShell script configures Data Sync to sync between a database in Azure SQL Database and a SQL Server on-premises database. |
52+
| [Update the SQL Data Sync sync schema](scripts/update-sync-schema-in-sync-group.md) | This PowerShell script adds or removes items from the Data Sync sync schema. |
5153

52-
53-
Learn more about the [Single-database Azure PowerShell API](single-database-manage.md#powershell).
54+
Learn more about the [Single-database Azure PowerShell API](single-database-manage.md#powershell).
5455

5556
## [Azure SQL Managed Instance](#tab/managed-instance)
5657

@@ -60,18 +61,17 @@ The following table includes links to sample Azure PowerShell scripts for Azure
6061
|---|---|
6162
|**Create and configure managed instances**||
6263
| [Create and manage a managed instance](../managed-instance/scripts/create-configure-managed-instance-powershell.md) | This PowerShell script shows you how to create and manage a managed instance using Azure PowerShell. |
63-
| [Create and manage a managed instance using the Azure Resource Manager template](../managed-instance/create-template-quickstart.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script shows you how to create and manage a managed instance using Azure PowerShell and the Azure Resource Manager template.|
64+
| [Create and manage a managed instance using the Azure Resource Manager template](../managed-instance/create-template-quickstart.md) | This PowerShell script shows you how to create and manage a managed instance using Azure PowerShell and the Azure Resource Manager template.|
6465
| [Restore database to a managed instance in another geo-region](../managed-instance/scripts/restore-geo-backup.md) | This PowerShell script takes a backup of one database and restores it to another region. This is known as a geo-restore disaster-recovery scenario. |
6566
| **Configure transparent data encryption**||
66-
| [Manage transparent data encryption in a managed instance using your own key from Azure Key Vault](../managed-instance/scripts/transparent-data-encryption-byok-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json)| This PowerShell script configures transparent data encryption in a Bring Your Own Key scenario for Azure SQL Managed Instance, using a key from Azure Key Vault.|
67+
| [Manage transparent data encryption in a managed instance using your own key from Azure Key Vault](../managed-instance/scripts/transparent-data-encryption-byok-powershell.md)| This PowerShell script configures transparent data encryption in a Bring Your Own Key scenario for Azure SQL Managed Instance, using a key from Azure Key Vault.|
6768
|**Configure a failover group**||
68-
| [Configure a failover group for a managed instance](../managed-instance/scripts/add-to-failover-group-powershell.md?toc=%2fpowershell%2fmodule%2ftoc.json) | This PowerShell script creates two managed instances, adds them to a failover group, and then tests failover from the primary managed instance to the secondary managed instance. |
69-
69+
| [Configure a failover group for a managed instance](../managed-instance/scripts/add-to-failover-group-powershell.md) | This PowerShell script creates two managed instances, adds them to a failover group, and then tests failover from the primary managed instance to the secondary managed instance. |
7070

7171
Learn more about [PowerShell cmdlets for Azure SQL Managed Instance](../managed-instance/api-references-create-manage-instance.md#powershell-create-and-configure-managed-instances).
7272

7373
---
7474

75-
## Additional resources
75+
## Next steps
7676

77-
The examples listed on this page use the [PowerShell cmdlets](/powershell/module/az.sql/) for creating and managing Azure SQL resources. Additional cmdlets for running queries and performing many database tasks are located in the [sqlserver](/powershell/module/sqlserver/) module. For more information, see [SQL Server PowerShell](/sql/powershell/sql-server-powershell/).
77+
The examples listed on this page use [az.sql PowerShell cmdlets](/powershell/module/az.sql/) for creating and managing Azure SQL resources. Additional cmdlets for running queries and performing many database tasks are located in the [SqlServer PowerShell cmdlets](/powershell/module/sqlserver/). For more information, see [SQL Server PowerShell](/sql/powershell/sql-server-powershell/).

azure-sql/toc.yml

Lines changed: 58 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,8 @@
224224
href: identify-query-performance-issues.md
225225
- name: Troubleshoot performance issues
226226
href: database/intelligent-insights-troubleshoot-performance.md
227+
- name: Use the Intelligent Insights performance diagnostics log
228+
href: database/intelligent-insights-use-diagnostics-log.md
227229
- name: Batching for performance
228230
href: performance-improve-use-batching.md
229231
- name: Load data with BCP
@@ -903,8 +905,54 @@
903905
href: database/scripts/copy-database-to-new-server-cli.md
904906
- name: Import a database from a BACPAC file
905907
href: database/scripts/import-from-bacpac-cli.md
906-
- name: Azure PowerShell
907-
href: database/powershell-script-content-guide.md?tabs=single-database
908+
- name: Sync database between databases
909+
items:
910+
- name: Set up Data Sync with REST API
911+
href: database/scripts/sql-data-sync-sync-data-between-sql-databases-rest-api.md
912+
- name: Azure PowerShell
913+
items:
914+
- name: Azure PowerShell samples guide
915+
href: database/powershell-script-content-guide.md?tabs=single-database
916+
- name: Create databases
917+
items:
918+
- name: Create single Azure SQL Database
919+
href: database/scripts/create-and-configure-database-powershell.md
920+
- name: Create elastic pools and move databases
921+
href: database/scripts/move-database-between-elastic-pools-powershell.md
922+
- name: Configure geo-replication
923+
items:
924+
- name: Configure and fail over a single database
925+
href: database/scripts/setup-geodr-and-failover-database-powershell.md
926+
- name: Configure and fail over a poooled database
927+
href: database/scripts/setup-geodr-and-failover-elastic-pool-powershell.md
928+
- name: Configure a failover group
929+
items:
930+
- name: Configure failover group for single database
931+
href: database/scripts/add-database-to-failover-group-powershell.md
932+
- name: Configure failover group for elastic pool
933+
href: database/scripts/add-elastic-pool-to-failover-group-powershell.md
934+
- name: Scale databases
935+
items:
936+
- name: Scale single database
937+
href: database/scripts/monitor-and-scale-database-powershell.md
938+
- name: Scale elastic pool
939+
href: database/scripts/monitor-and-scale-pool-powershell.md
940+
- name: Database back up, restore, copy, and import
941+
items:
942+
- name: Copy database to new server
943+
href: database/scripts/copy-database-to-new-server-powershell.md
944+
- name: Import from BACPAC
945+
href: database/scripts/import-from-bacpac-powershell.md
946+
- name: Restore a database
947+
href: database/scripts/restore-database-powershell.md
948+
- name: Sync database between databases
949+
items:
950+
- name: Sync data between databases
951+
href: database/scripts/sql-data-sync-sync-data-between-sql-databases.md
952+
- name: Sync data from on-premises
953+
href: database/scripts/sql-data-sync-sync-data-between-azure-onprem.md
954+
- name: Update sync schema
955+
href: database/scripts/update-sync-schema-in-sync-group.md
908956
- name: Azure Resource Manager
909957
href: database/arm-templates-content-guide.md?tabs=single-database
910958
- name: Code samples
@@ -1349,6 +1397,14 @@
13491397
items:
13501398
- name: Samples overview
13511399
href: database/powershell-script-content-guide.md?tabs=managed-instance
1400+
- name: Create Azure SQL Managed Instances
1401+
items:
1402+
- name: Create a managed instance
1403+
href: managed-instance/scripts/create-configure-managed-instance-powershell.md
1404+
- name: Restore database to a managed instance
1405+
href: managed-instance/scripts/restore-geo-backup.md
1406+
- name: Add a managed instance to a failover group
1407+
href: managed-instance/scripts/add-to-failover-group-powershell.md
13521408
- name: Configure transparent data encryption (TDE)
13531409
href: managed-instance/scripts/transparent-data-encryption-byok-powershell.md
13541410
- name: Azure Resource Manager

docs/toc.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1967,6 +1967,8 @@ items:
19671967
href: relational-databases/views/rename-views.md
19681968
- name: Delete
19691969
href: relational-databases/views/delete-views.md
1970+
- name: Use DMVs to determine performance of Views
1971+
href: relational-databases/performance/use-dmvs-determine-usage-performance-views.md
19701972
- name: XML data
19711973
href: relational-databases/xml/xml-data-sql-server.md
19721974
items:
@@ -10410,6 +10412,8 @@ items:
1041010412
href: big-data-cluster/deployment-custom-configuration.md
1041110413
- name: Configure storage
1041210414
href: big-data-cluster/concept-data-persistence.md
10415+
- name: Configure Apache Spark
10416+
href: big-data-cluster/configure-spark-hdfs.md
1041310417
- name: Offline deployments
1041410418
href: big-data-cluster/deploy-offline.md
1041510419
- name: Deploy with high availability

0 commit comments

Comments
 (0)