Skip to content

Commit 4f61a5e

Browse files
authored
Merge branch 'MicrosoftDocs:main' into dev/richardgao/include-linux-for-storage-explorer-platforms
2 parents 8393020 + 31f868b commit 4f61a5e

File tree

43 files changed

+847
-700
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+847
-700
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
- name: Resources
850850
items:
851851
- name: Build your skills with Microsoft Learn training
852-
href: /training/browse/?products=azure-container-instances&azure-container-registry
852+
href: /training/browse/?products=azure-kubernetes-service
853853
- name: Region availability
854854
href: https://azure.microsoft.com/global-infrastructure/services/
855855
- name: Pricing

articles/aks/howto-deploy-java-liberty-app.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Deploy a Java application with Open Liberty/WebSphere Liberty on an
55
author: KarlErickson
66
ms.author: edburns
77
ms.topic: how-to
8-
ms.date: 01/16/2024
8+
ms.date: 04/02/2024
99
ms.subservice: aks-developer
1010
keywords: java, jakartaee, javaee, microprofile, open-liberty, websphere-liberty, aks, kubernetes
1111
ms.custom: devx-track-java, devx-track-javaee, devx-track-javaee-liberty, devx-track-javaee-liberty-aks, devx-track-javaee-websphere, build-2023, devx-track-extended-java, devx-track-azurecli
@@ -23,28 +23,24 @@ The Open Liberty Operator simplifies the deployment and management of applicatio
2323

2424
For more information on Open Liberty, see [the Open Liberty project page](https://openliberty.io/). For more information on IBM WebSphere Liberty, see [the WebSphere Liberty product page](https://www.ibm.com/cloud/websphere-liberty).
2525

26-
This article uses the Azure Marketplace offer for Open/WebSphere Liberty to accelerate your journey to AKS. The offer automatically provisions a number of Azure resources including an Azure Container Registry (ACR) instance, an AKS cluster, an Azure App Gateway Ingress Controller (AGIC) instance, the Liberty Operator, and optionally a container image including Liberty and your application. To see the offer, visit the [Azure portal](https://aka.ms/liberty-aks). If you prefer manual step-by-step guidance for running Liberty on AKS that doesn't utilize the automation enabled by the offer, see [Manually deploy a Java application with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/howto-deploy-java-liberty-app-manual).
26+
This article uses the Azure Marketplace offer for Open/WebSphere Liberty to accelerate your journey to AKS. The offer automatically provisions a number of Azure resources including an Azure Container Registry (ACR) instance, an AKS cluster, an Azure App Gateway Ingress Controller (AGIC) instance, the Liberty Operators, and optionally a container image including Liberty and your application. To see the offer, visit the [Azure portal](https://aka.ms/liberty-aks). If you prefer manual step-by-step guidance for running Liberty on AKS that doesn't utilize the automation enabled by the offer, see [Manually deploy a Java application with Open Liberty or WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster](/azure/developer/java/ee/howto-deploy-java-liberty-app-manual).
2727

2828
This article is intended to help you quickly get to deployment. Before going to production, you should explore [Tuning Liberty](https://www.ibm.com/docs/was-liberty/base?topic=tuning-liberty).
2929

3030
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)]
3131

32-
* You can use Azure Cloud Shell or a local terminal.
33-
3432
[!INCLUDE [azure-cli-prepare-your-environment.md](~/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
3533

36-
* This article requires at least version 2.31.0 of Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
37-
3834
> [!NOTE]
3935
> You can also execute this guidance from the [Azure Cloud Shell](/azure/cloud-shell/quickstart). This approach has all the prerequisite tools pre-installed, with the exception of Docker.
4036
>
4137
> :::image type="icon" source="~/reusable-content/ce-skilling/azure/media/cloud-shell/launch-cloud-shell-button.png" alt-text="Button to launch the Azure Cloud Shell." border="false" link="https://shell.azure.com":::
4238
43-
* If running the commands in this guide locally (instead of Azure Cloud Shell):
44-
* Prepare a local machine with Unix-like operating system installed (for example, Ubuntu, Azure Linux, macOS, Windows Subsystem for Linux).
45-
* Install a Java SE implementation, version 17 or later. (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
46-
* Install [Maven](https://maven.apache.org/download.cgi) 3.5.0 or higher.
47-
* Install [Docker](https://docs.docker.com/get-docker/) for your OS.
39+
* Prepare a local machine with a Unix-like operating system installed (for example, Ubuntu, macOS, Windows Subsystem for Linux).
40+
* This article requires at least version 2.31.0 of Azure CLI.
41+
* Install a Java SE implementation, version 17 or later. (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
42+
* Install [Maven](https://maven.apache.org/download.cgi) 3.5.0 or higher.
43+
* Install [Docker](https://docs.docker.com/get-docker/) for your OS.
4844
* Make sure you're assigned either the `Owner` role or the `Contributor` and `User Access Administrator` roles in the subscription. You can verify it by following steps in [List role assignments for a user or group](../role-based-access-control/role-assignments-list-portal.md#list-role-assignments-for-a-user-or-group).
4945

5046
## Create a Liberty on AKS deployment using the portal

articles/aks/limit-egress-traffic.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ms.subservice: aks-networking
55
ms.custom: devx-track-azurecli
66
ms.topic: how-to
77
ms.author: allensu
8-
ms.date: 12/05/2023
8+
ms.date: 04/02/2024
99
author: asudbring
1010
#Customer intent: As a cluster operator, I want to restrict egress traffic for nodes to only access defined ports and addresses and improve cluster security.
1111
---
@@ -178,8 +178,7 @@ For information on how to override Azure's default system routes or add addition
178178
This section covers three network rules and an application rule you can use to configure on your firewall. You may need to adapt these rules based on your deployment.
179179
180180
* The first network rule allows access to port 9000 via TCP.
181-
* The second network rule allows access to port 1194 and 123 via UDP. If you're deploying to Microsoft Azure operated by 21Vianet, see the [Azure operated by 21Vianet required network rules](./outbound-rules-control-egress.md#microsoft-azure-operated-by-21vianet-required-network-rules). Both these rules will only allow traffic destined to the Azure Region CIDR in this article, which is East US.
182-
* The third network rule opens port 123 to `ntp.ubuntu.com` FQDN via UDP. Adding an FQDN as a network rule is one of the specific features of Azure Firewall, so you'll need to adapt it when using your own options.
181+
* The second network rule allows access to port 1194 via UDP. If you're deploying to Microsoft Azure operated by 21Vianet, see the [Azure operated by 21Vianet required network rules](./outbound-rules-control-egress.md#microsoft-azure-operated-by-21vianet-required-network-rules). Both these rules will only allow traffic destined to the Azure Region CIDR in this article, which is East US.
183182
* The fourth and fifth network rules allow access to pull containers from GitHub Container Registry (ghcr.io) and Docker Hub (docker.io).
184183
185184
1. Create the network rules using the [`az network firewall network-rule create`][az-network-firewall-network-rule-create] command.
@@ -189,8 +188,6 @@ This section covers three network rules and an application rule you can use to c
189188
190189
az network firewall network-rule create -g $RG -f $FWNAME --collection-name 'aksfwnr' -n 'apitcp' --protocols 'TCP' --source-addresses '*' --destination-addresses "AzureCloud.$LOC" --destination-ports 9000
191190
192-
az network firewall network-rule create -g $RG -f $FWNAME --collection-name 'aksfwnr' -n 'time' --protocols 'UDP' --source-addresses '*' --destination-fqdns 'ntp.ubuntu.com' --destination-ports 123
193-
194191
az network firewall network-rule create -g $RG -f $FWNAME --collection-name 'aksfwnr' -n 'ghcr' --protocols 'TCP' --source-addresses '*' --destination-fqdns ghcr.io pkg-containers.githubusercontent.com --destination-ports '443'
195192
196193
az network firewall network-rule create -g $RG -f $FWNAME --collection-name 'aksfwnr' -n 'docker' --protocols 'TCP' --source-addresses '*' --destination-fqdns docker.io registry-1.docker.io production.cloudflare.docker.com --destination-ports '443'

articles/app-service/quickstart-python.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,66 @@ To run the application locally:
5959
pip install -r requirements.txt
6060
```
6161

62+
1. Integrate a database:
63+
64+
```Python
65+
66+
from azure.cosmos.aio import CosmosClient
67+
from azure.cosmos import exceptions
68+
from azure.cosmos.partition_key import PartitionKey
69+
70+
from configs.credential import HOST, MASTER_KEY, DATABASE_ID
71+
72+
73+
def get_database_client():
74+
# Initialize the Cosmos client
75+
client = CosmosClient(HOST, MASTER_KEY)
76+
77+
# Create or get a reference to a database
78+
try:
79+
database = client.create_database_if_not_exists(id=DATABASE_ID)
80+
print(f'Database "{DATABASE_ID}" created or retrieved successfully.')
81+
82+
except exceptions.CosmosResourceExistsError:
83+
database = client.get_database_client(DATABASE_ID)
84+
print('Database with id \'{0}\' was found'.format(DATABASE_ID))
85+
86+
return database
87+
88+
89+
def get_container_client(container_id):
90+
database = get_database_client()
91+
# Create or get a reference to a container
92+
try:
93+
container = database.create_container(id=container_id, partition_key=PartitionKey(path='/partitionKey'))
94+
print('Container with id \'{0}\' created'.format(container_id))
95+
96+
except exceptions.CosmosResourceExistsError:
97+
container = database.get_container_client(container_id)
98+
print('Container with id \'{0}\' was found'.format(container_id))
99+
100+
return container
101+
102+
async def create_item(container_id, item):
103+
async with CosmosClient(HOST, credential=MASTER_KEY) as client:
104+
database = client.get_database_client(DATABASE_ID)
105+
container = database.get_container_client(container_id)
106+
await container.upsert_item(body=item)
107+
108+
async def get_items(container_id):
109+
items = []
110+
try:
111+
async with CosmosClient(HOST, credential=MASTER_KEY) as client:
112+
database = client.get_database_client(DATABASE_ID)
113+
container = database.get_container_client(container_id)
114+
async for item in container.read_all_items():
115+
items.append(item)
116+
except Exception as e:
117+
print(f"An error occurred: {e}")
118+
119+
return items
120+
```
121+
62122
1. Run the app:
63123

64124
```Console

articles/azure-government/compliance/azure-services-in-fedramp-auditscope.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ This article provides a detailed list of Azure, Dynamics 365, Microsoft 365, and
285285
| [Application Gateway](../../application-gateway/index.yml) | ✅ | ✅ | ✅ | ✅ | ✅ |
286286
| [Automation](../../automation/index.yml) | ✅ | ✅ | ✅ | ✅ | ✅ |
287287
| [Microsoft Entra ID (Free)](../../active-directory/fundamentals/active-directory-whatis.md#what-are-the-azure-ad-licenses) | ✅ | ✅ | ✅ | ✅ | ✅ |
288-
| [Microsoft Entra ID (P1 + P2)](../../active-directory/fundamentals/active-directory-whatis.md#what-are-the-azure-ad-licenses) | ✅ | ✅ | ✅ | ✅ | |
288+
| [Microsoft Entra ID (P1 + P2)](../../active-directory/fundamentals/active-directory-whatis.md#what-are-the-azure-ad-licenses) | ✅ | ✅ | ✅ | ✅ | ✅ |
289289
| [Microsoft Entra Domain Services](../../active-directory-domain-services/index.yml) | ✅ | ✅ | ✅ | ✅ | |
290290
| [Microsoft Entra multifactor authentication](../../active-directory/authentication/concept-mfa-howitworks.md) | ✅ | ✅ | ✅ | ✅ | ✅ |
291291
| [Azure API for FHIR](../../healthcare-apis/azure-api-for-fhir/index.yml) | ✅ | ✅ | ✅ | ✅ | |

articles/communication-services/quickstarts/email/add-azure-managed-domains.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,28 @@ ms.service: azure-communication-services
1313

1414
# Quickstart: How to add Azure Managed Domains to Email Communication Service
1515

16-
In this quick start, you learn about how to provision the Azure Managed domain in Azure Communication Services to send email.
16+
In this quick start, you learn how to provision the Azure Managed Domain to Email Communication Service in Azure Communication Services.
1717

1818
## Prerequisites
1919

2020
- An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/dotnet/).
21-
- An Azure Email Communication Services Resource created and ready to provision the domains [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md)
21+
- An Azure Communication Services Email Resource created and ready to add the domains. See [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md).
2222

23-
## Azure Managed Domains vs. Custom Domains
23+
## Azure Managed Domains compared to Custom Domains
2424

25-
Before provisioning an Azure Managed Domain, review the following table to determine which domain type is most appropriate for your particular use case.
25+
Before provisioning an Azure Managed Domain, review the following table to decide which domain type best meets your needs.
2626

2727
| | [Azure Managed Domains](./add-azure-managed-domains.md) | [Custom Domains](./add-custom-verified-domains.md) |
2828
|---|---|---|
2929
|**Pros:** | - Setup is quick & easy<br/>- No domain verification required<br /> | - Emails are sent from your own domain |
30-
|**Cons:** | - Sender domain is not personalized and cannot be changed<br/>- Sender usernames cannot be personalized<br/>- Very limited sending volume<br />- User Engagement Tracking cannot be enabled <br /> | - Requires verification of domain records <br /> - Longer setup for verification |
30+
|**Cons:** | - Sender domain is not personalized and cannot be changed<br/>- Sender usernames can't be personalized<br/>- Very limited sending volume<br />- User Engagement Tracking can't be enabled <br /> | - Requires verification of domain records <br /> - Longer setup for verification |
3131

3232

3333
## Provision Azure Managed Domain
3434

35-
1. Go the overview page of the Email Communications Service resource that you created earlier.
36-
2. Create the Azure Managed Domain.
37-
- (Option 1) Click the **1-click add** button under **Add a free Azure subdomain**. Move to the next step.
35+
1. Open the Overview page of the Email Communications Service resource that you created in [Get started with Creating Email Communication Resource](../../quickstarts/email/create-email-communication-resource.md).
36+
2. Create an Azure Managed Domain using one of the following options.
37+
- (Option 1) Click the **1-click add** button under **Add a free Azure subdomain**. Continue to **step 3**.
3838

3939
:::image type="content" source="./media/email-add-azure-domain.png" alt-text="Screenshot that highlights the adding a free Azure Managed Domain.":::
4040

@@ -44,30 +44,32 @@ Before provisioning an Azure Managed Domain, review the following table to deter
4444

4545
- Click **Add domain** on the upper navigation bar.
4646
- Select **Azure domain** from the dropdown.
47+
4748
3. Wait for the deployment to complete.
4849

4950
:::image type="content" source="./media/email-add-azure-domain-progress.png" alt-text="Screenshot that shows the Deployment Progress." lightbox="media/email-add-azure-domain-progress-expanded.png":::
5051

51-
4. After domain creation is completed, you'll see a list view with the created domain.
52+
4. Once the domain is created, you see a list view with the new domain.
5253

5354
:::image type="content" source="./media/email-add-azure-domain-created.png" alt-text="Screenshot that shows the list of provisioned email domains." lightbox="media/email-add-azure-domain-created-expanded.png":::
5455

55-
5. Click the name of the provisioned domain, which navigates you to the overview page for the domain resource type.
56+
5. Click the name of the provisioned domain to open the overview page for the domain resource type.
5657

5758
:::image type="content" source="./media/email-azure-domain-overview.png" alt-text="Screenshot that shows Azure Managed Domain overview page." lightbox="media/email-azure-domain-overview-expanded.png":::
5859

5960
## Sender authentication for Azure Managed Domain
60-
Azure communication Services Email automatically configures the required email authentication protocols to set proper authentication for the email as detailed in [Email Authentication best practices](../../concepts/email/email-authentication-best-practice.md).
61+
62+
Azure Communication Services automatically configures the required email authentication protocols for the email as described in [Email Authentication best practices](../../concepts/email/email-authentication-best-practice.md).
6163

6264
**Your email domain is now ready to send emails.**
6365

6466
## Next steps
6567

66-
* [Get started by connecting Email Communication Service with Azure Communication Service resource](../../quickstarts/email/connect-email-communication-resource.md)
68+
* [Quickstart: How to connect a verified email domain](../../quickstarts/email/connect-email-communication-resource.md)
6769

6870
* [How to send an email using Azure Communication Service](../../quickstarts/email/send-email.md)
6971

70-
The following documents may be interesting to you:
72+
## Related articles
7173

72-
- Familiarize yourself with the [Email client library](../../concepts/email/sdk-features.md)
73-
- How to send emails with custom verified domains? [Add custom domains](../../quickstarts/email/add-custom-verified-domains.md)
74+
* Familiarize yourself with the [Email client library](../../concepts/email/sdk-features.md)
75+
* Learn how to send emails with custom verified domains in [Quickstart: How to add custom verified email domains](../../quickstarts/email/add-custom-verified-domains.md)

0 commit comments

Comments
 (0)