diff --git a/src/content/docs/azure/integrations/az.md b/src/content/docs/azure/integrations/az.md index 63e498cf5..9ab1418c8 100644 --- a/src/content/docs/azure/integrations/az.md +++ b/src/content/docs/azure/integrations/az.md @@ -16,58 +16,33 @@ This guide will show you how to use it to interact with LocalStack. This guide is designed for users who are new to LocalStack for Azure emulator and assumes basic knowledge of how the Azure CLI works. We will demonstrate how to create, show and delete an Azure resource group. -### Install the packages +### Prerequisites -Run the following command to install the required packages: +This guide uses [`lstk`](/aws/developer-tools/running-localstack/lstk/), which proxies your host `az` CLI against the Azure emulator using an isolated configuration directory, so your global `~/.azure` setup is left untouched. -``` -$ pip install azlocal -``` - -You now have access to the following LocalStack tools: - -| CLI tool | LocalStack tool | Purpose | -|-----------|-----------------|-------------------------------| -| az | azlocal | Interact with Azure resources | -| azd | azdlocal | Deploy ARM/Bicep templates | - -The LocalStack variants are wrappers around the existing tools, so you keep the full functionality of the original tool. It will just redirect all commands to the running LocalStack Emulator. - -### Setup the az CLI - -To make sure the `az` tool sends requests to the Azure Emulator REST API, run the following command: +Run the following command once to prepare the integration: ``` -$ azlocal start_interception +$ lstk setup azure ``` ### Create and manage the Resource Group -Run the following command to create a resource group in the Emulator: +Run the following command to create a resource group in the Emulator, prefixing the same `az` command you would normally run with `lstk az`: ``` -$ az group create --name MyResourceGroup --location westeurope +$ lstk az group create --name MyResourceGroup --location westeurope ``` To check the resource group details, run the following command: ``` -$ az group show --name MyResourceGroup +$ lstk az group show --name MyResourceGroup ``` To delete the resource group, run the following command: ``` -$ az group delete --name MyResourceGroup --yes +$ lstk az group delete --name MyResourceGroup --yes ``` -### Teardown - -When you're done using the Azure Emulator, you can run the following command: - -``` -$ azlocal stop_interception -``` - -The `az` CLI tool will now communicate with the Azure REST API on future invocations. - diff --git a/src/content/docs/azure/integrations/python.md b/src/content/docs/azure/integrations/python.md index 8e99d6a2b..dbeac0a21 100644 --- a/src/content/docs/azure/integrations/python.md +++ b/src/content/docs/azure/integrations/python.md @@ -29,6 +29,11 @@ The `azlocal` package is provided by LocalStack to simplify the process of inter The other two packages are packages provided by Azure to interact with Azure services in Python. +:::note +Elsewhere in these docs, `az` CLI examples use [`lstk az`](/aws/developer-tools/running-localstack/lstk/) instead of `azlocal`. +`lstk` proxies the `az` CLI, but does not provide a Python SDK interception helper — for Python, `azlocal`'s `PythonLocalSdk` (used below) remains the supported approach. +::: + ### Create a Python file You can now use the Azure SDK for Python to interact with LocalStack. diff --git a/src/content/docs/azure/services/action-group.mdx b/src/content/docs/azure/services/action-group.mdx index 76df0355a..03bd066c3 100644 --- a/src/content/docs/azure/services/action-group.mdx +++ b/src/content/docs/azure/services/action-group.mdx @@ -22,14 +22,14 @@ This guide walks you through creating an Action Group with an email receiver and Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/api-management.mdx b/src/content/docs/azure/services/api-management.mdx index 1bd050efa..89998e7f1 100644 --- a/src/content/docs/azure/services/api-management.mdx +++ b/src/content/docs/azure/services/api-management.mdx @@ -18,19 +18,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide walks you through creating an API Management service, adding an API, and defining and updating an operation. It is designed for users new to API Management and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide walks you through creating an API Management service, adding an API, and defining and updating an operation. It is designed for users new to API Management and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/application-insights.mdx b/src/content/docs/azure/services/application-insights.mdx index b656b4973..8b123d515 100644 --- a/src/content/docs/azure/services/application-insights.mdx +++ b/src/content/docs/azure/services/application-insights.mdx @@ -23,14 +23,14 @@ The Azure CLI commands below use the [`application-insights` extension](https:// Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/autoscale-setting.mdx b/src/content/docs/azure/services/autoscale-setting.mdx index 0de5306fd..bb2bea850 100644 --- a/src/content/docs/azure/services/autoscale-setting.mdx +++ b/src/content/docs/azure/services/autoscale-setting.mdx @@ -22,14 +22,14 @@ This guide walks you through creating an autoscale setting targeting an App Serv Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/bastion-host.mdx b/src/content/docs/azure/services/bastion-host.mdx index 938a15d58..60c0f0c2d 100644 --- a/src/content/docs/azure/services/bastion-host.mdx +++ b/src/content/docs/azure/services/bastion-host.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Bastion Host and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Bastion Host and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/blob-storage.mdx b/src/content/docs/azure/services/blob-storage.mdx index 08a2d8914..e70a956d4 100644 --- a/src/content/docs/azure/services/blob-storage.mdx +++ b/src/content/docs/azure/services/blob-storage.mdx @@ -15,23 +15,23 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Blob Storage and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Blob Storage and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` :::note -As an alternative to using the `azlocal` CLI, users can run: +As an alternative to using the `lstk az` proxy, users can run: -`azlocal start-interception` +`lstk az start-interception` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator REST API. To revert this configuration, run: -`azlocal stop-interception` +`lstk az stop-interception` This reconfigures the `az` CLI to send commands to the official Azure management REST API ::: diff --git a/src/content/docs/azure/services/container-instance.mdx b/src/content/docs/azure/services/container-instance.mdx index f77c08df3..6ee9f8d64 100644 --- a/src/content/docs/azure/services/container-instance.mdx +++ b/src/content/docs/azure/services/container-instance.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Container Instances and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Container Instances and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/container-registry.mdx b/src/content/docs/azure/services/container-registry.mdx index 4d4909953..683811950 100644 --- a/src/content/docs/azure/services/container-registry.mdx +++ b/src/content/docs/azure/services/container-registry.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a registry, logging in with Docker, pushin Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/cosmos-db.mdx b/src/content/docs/azure/services/cosmos-db.mdx index be126fecb..112a36efa 100644 --- a/src/content/docs/azure/services/cosmos-db.mdx +++ b/src/content/docs/azure/services/cosmos-db.mdx @@ -22,14 +22,14 @@ This guide walks you through creating Cosmos DB accounts, databases, and contain Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/data-collection-rules.mdx b/src/content/docs/azure/services/data-collection-rules.mdx index 797772170..2eccd38eb 100644 --- a/src/content/docs/azure/services/data-collection-rules.mdx +++ b/src/content/docs/azure/services/data-collection-rules.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a Data Collection Endpoint, a Data Collect Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/dbfor-postgresql.mdx b/src/content/docs/azure/services/dbfor-postgresql.mdx index 1a0dac629..1ed764c85 100644 --- a/src/content/docs/azure/services/dbfor-postgresql.mdx +++ b/src/content/docs/azure/services/dbfor-postgresql.mdx @@ -15,19 +15,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Azure DB for PostgreSQL and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Azure DB for PostgreSQL and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/diagnostic-setting.mdx b/src/content/docs/azure/services/diagnostic-setting.mdx index ae0bdc206..1f9af6d48 100644 --- a/src/content/docs/azure/services/diagnostic-setting.mdx +++ b/src/content/docs/azure/services/diagnostic-setting.mdx @@ -23,14 +23,14 @@ See also the [Monitor](/azure/services/monitor) page for a broader overview of d Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/front-door.mdx b/src/content/docs/azure/services/front-door.mdx index 8060f370e..07dbcd550 100644 --- a/src/content/docs/azure/services/front-door.mdx +++ b/src/content/docs/azure/services/front-door.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Azure Front Door and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Azure Front Door and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/functions-app.mdx b/src/content/docs/azure/services/functions-app.mdx index c23610591..05949194a 100644 --- a/src/content/docs/azure/services/functions-app.mdx +++ b/src/content/docs/azure/services/functions-app.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a Function App backed by a Storage Account Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/key-vault.mdx b/src/content/docs/azure/services/key-vault.mdx index 6f728c367..2055f69f5 100644 --- a/src/content/docs/azure/services/key-vault.mdx +++ b/src/content/docs/azure/services/key-vault.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Key Vault and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Key Vault and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/log-analytics.mdx b/src/content/docs/azure/services/log-analytics.mdx index 400d55516..963b9b504 100644 --- a/src/content/docs/azure/services/log-analytics.mdx +++ b/src/content/docs/azure/services/log-analytics.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a Log Analytics Workspace, retrieving its Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/managed-identity.mdx b/src/content/docs/azure/services/managed-identity.mdx index 74bd8c314..ba710c4c7 100644 --- a/src/content/docs/azure/services/managed-identity.mdx +++ b/src/content/docs/azure/services/managed-identity.mdx @@ -20,19 +20,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Managed Identity and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Managed Identity and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/metric-alert.mdx b/src/content/docs/azure/services/metric-alert.mdx index 7dda44c1c..c09990ab6 100644 --- a/src/content/docs/azure/services/metric-alert.mdx +++ b/src/content/docs/azure/services/metric-alert.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a metric alert rule referencing an action Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/monitor.mdx b/src/content/docs/azure/services/monitor.mdx index f24f8a5ac..33102c278 100644 --- a/src/content/docs/azure/services/monitor.mdx +++ b/src/content/docs/azure/services/monitor.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Azure Monitor and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Azure Monitor and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/nat-gateway.mdx b/src/content/docs/azure/services/nat-gateway.mdx index 6cf8bc195..450bb026c 100644 --- a/src/content/docs/azure/services/nat-gateway.mdx +++ b/src/content/docs/azure/services/nat-gateway.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to NAT Gateway and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to NAT Gateway and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/network-interface.mdx b/src/content/docs/azure/services/network-interface.mdx index 89e6b5e4a..06304dcd4 100644 --- a/src/content/docs/azure/services/network-interface.mdx +++ b/src/content/docs/azure/services/network-interface.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Network Interfaces and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Network Interfaces and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/private-dns-zone.mdx b/src/content/docs/azure/services/private-dns-zone.mdx index d7c1c0a97..d5d77b92d 100644 --- a/src/content/docs/azure/services/private-dns-zone.mdx +++ b/src/content/docs/azure/services/private-dns-zone.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Private DNS Zone and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Private DNS Zone and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/private-endpoint.mdx b/src/content/docs/azure/services/private-endpoint.mdx index 762edd30c..55c8e6ad1 100644 --- a/src/content/docs/azure/services/private-endpoint.mdx +++ b/src/content/docs/azure/services/private-endpoint.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Private Endpoint and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Private Endpoint and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/public-ip-address.mdx b/src/content/docs/azure/services/public-ip-address.mdx index 4a85e287f..67733c2e7 100644 --- a/src/content/docs/azure/services/public-ip-address.mdx +++ b/src/content/docs/azure/services/public-ip-address.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Public IP Addresses and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Public IP Addresses and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/public-ip-prefix.mdx b/src/content/docs/azure/services/public-ip-prefix.mdx index f7c9177ec..e85554182 100644 --- a/src/content/docs/azure/services/public-ip-prefix.mdx +++ b/src/content/docs/azure/services/public-ip-prefix.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Public IP Prefixes and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Public IP Prefixes and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/queue-storage.mdx b/src/content/docs/azure/services/queue-storage.mdx index 940df0977..146c6f270 100644 --- a/src/content/docs/azure/services/queue-storage.mdx +++ b/src/content/docs/azure/services/queue-storage.mdx @@ -17,17 +17,17 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Queue Storage and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Queue Storage and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` :::note -`azlocal start-interception` points the Azure CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. -To revert this configuration, run `azlocal stop-interception` so the CLI targets the official Azure management REST API again. +`lstk az start-interception` points the Azure CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. +To revert this configuration, run `lstk az stop-interception` so the CLI targets the official Azure management REST API again. ::: ### Create a resource group diff --git a/src/content/docs/azure/services/resource-graph.mdx b/src/content/docs/azure/services/resource-graph.mdx index a7a7e0d0f..b47b9ddda 100644 --- a/src/content/docs/azure/services/resource-graph.mdx +++ b/src/content/docs/azure/services/resource-graph.mdx @@ -17,19 +17,19 @@ LocalStack for Azure enables users to explore resources deployed within the loca ## Getting started -This guide is designed for users new to Resource Graph and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Resource Graph and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/resource-manager.mdx b/src/content/docs/azure/services/resource-manager.mdx index e3decd431..ca7b66b52 100644 --- a/src/content/docs/azure/services/resource-manager.mdx +++ b/src/content/docs/azure/services/resource-manager.mdx @@ -20,19 +20,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Resource Manager and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Resource Manager and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/role-assignment.mdx b/src/content/docs/azure/services/role-assignment.mdx index f2f1dd872..6f126fb26 100644 --- a/src/content/docs/azure/services/role-assignment.mdx +++ b/src/content/docs/azure/services/role-assignment.mdx @@ -22,14 +22,14 @@ This guide walks you through assigning a built-in role to a managed identity, li Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/role-definition.mdx b/src/content/docs/azure/services/role-definition.mdx index 9e3a7b187..d7944158a 100644 --- a/src/content/docs/azure/services/role-definition.mdx +++ b/src/content/docs/azure/services/role-definition.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a custom role definition, listing role def Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/route-table.mdx b/src/content/docs/azure/services/route-table.mdx index 8e3fe7348..ee53c254b 100644 --- a/src/content/docs/azure/services/route-table.mdx +++ b/src/content/docs/azure/services/route-table.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Route Tables and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Route Tables and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/scheduled-query-rules.mdx b/src/content/docs/azure/services/scheduled-query-rules.mdx index 5891696eb..100b506c3 100644 --- a/src/content/docs/azure/services/scheduled-query-rules.mdx +++ b/src/content/docs/azure/services/scheduled-query-rules.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a Scheduled Query Rule that targets a Log Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/service-bus-data-plane.mdx b/src/content/docs/azure/services/service-bus-data-plane.mdx index 82e10cd48..7e1f9afe1 100644 --- a/src/content/docs/azure/services/service-bus-data-plane.mdx +++ b/src/content/docs/azure/services/service-bus-data-plane.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Service Bus Data Plane APIs and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Service Bus Data Plane APIs and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/service-bus.mdx b/src/content/docs/azure/services/service-bus.mdx index bf00e3cd6..bdba2e345 100644 --- a/src/content/docs/azure/services/service-bus.mdx +++ b/src/content/docs/azure/services/service-bus.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Service Bus and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Service Bus and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/sql.mdx b/src/content/docs/azure/services/sql.mdx index 3afc783a7..6871f2dfe 100644 --- a/src/content/docs/azure/services/sql.mdx +++ b/src/content/docs/azure/services/sql.mdx @@ -17,19 +17,19 @@ The supported APIs are listed in the [API Coverage](#api-coverage) section. ## Getting started -This guide is designed for users new to Azure SQL Database and assumes basic knowledge of the Azure CLI and `azlocal`. The following example creates a SQL server and database, configures firewall access, and defines retention and encryption settings. +This guide is designed for users new to Azure SQL Database and assumes basic knowledge of the Azure CLI and `lstk az`. The following example creates a SQL server and database, configures firewall access, and defines retention and encryption settings. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/storage-accounts.mdx b/src/content/docs/azure/services/storage-accounts.mdx index cfca6deb6..0f67bd4f1 100644 --- a/src/content/docs/azure/services/storage-accounts.mdx +++ b/src/content/docs/azure/services/storage-accounts.mdx @@ -20,19 +20,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Azure Storage Accounts and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Azure Storage Accounts and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/table-storage.mdx b/src/content/docs/azure/services/table-storage.mdx index 6553f5dfc..d9d18a41e 100644 --- a/src/content/docs/azure/services/table-storage.mdx +++ b/src/content/docs/azure/services/table-storage.mdx @@ -17,19 +17,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Table Storage and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Table Storage and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/virtual-network.mdx b/src/content/docs/azure/services/virtual-network.mdx index 141548d67..25ac36b6b 100644 --- a/src/content/docs/azure/services/virtual-network.mdx +++ b/src/content/docs/azure/services/virtual-network.mdx @@ -17,12 +17,12 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Virtual Network and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Virtual Network and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. @@ -30,7 +30,7 @@ This command points the `az` CLI away from the public Azure management REST API To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/web-app.mdx b/src/content/docs/azure/services/web-app.mdx index efae0ff36..9cee9b079 100644 --- a/src/content/docs/azure/services/web-app.mdx +++ b/src/content/docs/azure/services/web-app.mdx @@ -15,19 +15,19 @@ The supported APIs are available on our [API Coverage section](#api-coverage), w ## Getting started -This guide is designed for users new to Web App and assumes basic knowledge of the Azure CLI and our `azlocal` wrapper script. +This guide is designed for users new to Web App and assumes basic knowledge of the Azure CLI and our `lstk az` proxy. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/web-test.mdx b/src/content/docs/azure/services/web-test.mdx index cd63b6fa8..8c2298b71 100644 --- a/src/content/docs/azure/services/web-test.mdx +++ b/src/content/docs/azure/services/web-test.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a web test linked to an Application Insigh Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API. diff --git a/src/content/docs/azure/services/workbook.mdx b/src/content/docs/azure/services/workbook.mdx index 6457c29b7..2d53fae14 100644 --- a/src/content/docs/azure/services/workbook.mdx +++ b/src/content/docs/azure/services/workbook.mdx @@ -22,14 +22,14 @@ This guide walks you through creating a workbook and a workbook template. Launch LocalStack using your preferred method. For more information, see [Introduction to LocalStack for Azure](/azure/getting-started/). Once the container is running, enable Azure CLI interception by running: ```bash -azlocal start-interception +lstk az start-interception ``` This command points the `az` CLI away from the public Azure management REST API and toward the LocalStack for Azure emulator API. To revert this configuration, run: ```bash -azlocal stop-interception +lstk az stop-interception ``` This reconfigures the `az` CLI to send commands to the official Azure management REST API.