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
Copy file name to clipboardExpand all lines: articles/azure-arc/kubernetes/tutorial-use-gitops-connected-cluster.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,6 @@
1
1
---
2
2
title: 'Tutorial: Deploy configurations using GitOps on an Azure Arc-enabled Kubernetes cluster'
3
3
description: This tutorial demonstrates applying configurations on an Azure Arc-enabled Kubernetes cluster. For a conceptual take on this process, see the Configurations and GitOps - Azure Arc-enabled Kubernetes article.
Copy file name to clipboardExpand all lines: articles/cognitive-services/language-service/personally-identifiable-information/includes/identification-entities.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ This category contains the following entity:
114
114
115
115
IBAN codes for payment instruction information. Also returned with `domain=phi`.
116
116
117
-
To get this entity category, add `InternationalBankingAccountNumber` to the `piiCategories` parameter. `InternationlBankingAccountNumber` will be returned in the API response if detected.
117
+
To get this entity category, add `InternationalBankingAccountNumber` to the `piiCategories` parameter. `InternationalBankingAccountNumber` will be returned in the API response if detected.
1. Navigate to the resource group you previously created in the Azure portal.
19
+
20
+
> [!TIP]
21
+
> In this quickstart, we recommended the name ``msdocs-cosmos-quickstart-rg``.
22
+
1. Select **Delete resource group**.
23
+
24
+
:::image type="content" source="../media/delete-account-portal/delete-resource-group-option.png" lightbox="../media/delete-account-portal/delete-resource-group-option.png" alt-text="Screenshot of the Delete resource group option in the navigation bar for a resource group.":::
25
+
26
+
1. On the **Are you sure you want to delete** dialog, enter the name of the resource group, and then select **Delete**.
27
+
28
+
:::image type="content" source="../media/delete-account-portal/delete-confirmation.png" lightbox="../media/delete-account-portal/delete-confirmation.png" alt-text="Screenshot of the delete confirmation page for a resource group.":::
29
+
30
+
### [Azure CLI](#tab/azure-cli)
17
31
18
32
Use the [``az group delete``](/cli/azure/group#az-group-delete) command to delete the resource group.
19
33
@@ -32,18 +46,4 @@ $parameters = @{
32
46
Remove-AzResourceGroup @parameters
33
47
```
34
48
35
-
### [Portal](#tab/azure-portal)
36
-
37
-
1. Navigate to the resource group you previously created in the Azure portal.
38
-
39
-
> [!TIP]
40
-
> In this quickstart, we recommended the name ``msdocs-cosmos-quickstart-rg``.
41
-
1. Select **Delete resource group**.
42
-
43
-
:::image type="content" source="../media/delete-account-portal/delete-resource-group-option.png" lightbox="../media/delete-account-portal/delete-resource-group-option.png" alt-text="Screenshot of the Delete resource group option in the navigation bar for a resource group.":::
44
-
45
-
1. On the **Are you sure you want to delete** dialog, enter the name of the resource group, and then select **Delete**.
46
-
47
-
:::image type="content" source="../media/delete-account-portal/delete-confirmation.png" lightbox="../media/delete-account-portal/delete-confirmation.png" alt-text="Screenshot of the delete confirmation page for a resource group.":::
This quickstart will create a single Azure Cosmos DB account using the SQL API.
14
+
This quickstart will create a single Azure Cosmos DB account using the API for NoSQL.
15
+
16
+
#### [Portal](#tab/azure-portal)
17
+
18
+
> [!TIP]
19
+
> For this quickstart, we recommend using the resource group name ``msdocs-cosmos-quickstart-rg``.
20
+
21
+
1. Sign in to the [Azure portal](https://portal.azure.com).
22
+
23
+
1. From the Azure portal menu or the **Home page**, select **Create a resource**.
24
+
25
+
1. On the **New** page, search for and select **Azure Cosmos DB**.
26
+
27
+
1. On the **Select API option** page, select the **Create** option within the **NoSQL** section. Azure Cosmos DB has six APIs: NoSQL, MongoDB, PostgreSQL, Apache Cassandra, Apache Gremlin, and Table. [Learn more about the API for NoSQL](../index.yml).
28
+
29
+
:::image type="content" source="../media/create-account-portal/cosmos-api-choices.png" lightbox="../media/create-account-portal/cosmos-api-choices.png" alt-text="Screenshot of select API option page for Azure Cosmos DB.":::
30
+
31
+
1. On the **Create Azure Cosmos DB Account** page, enter the following information:
32
+
33
+
| Setting | Value | Description |
34
+
| --- | --- | --- |
35
+
| Subscription | Subscription name | Select the Azure subscription that you wish to use for this Azure Cosmos account. |
36
+
| Resource Group | Resource group name | Select a resource group, or select **Create new**, then enter a unique name for the new resource group. |
37
+
| Account Name | A unique name | Enter a name to identify your Azure Cosmos account. The name will be used as part of a fully qualified domain name (FQDN) with a suffix of *documents.azure.com*, so the name must be globally unique. The name can only contain lowercase letters, numbers, and the hyphen (-) character. The name must also be between 3-44 characters in length. |
38
+
| Location | The region closest to your users | Select a geographic location to host your Azure Cosmos DB account. Use the location that is closest to your users to give them the fastest access to the data. |
39
+
| Capacity mode |Provisioned throughput or Serverless|Select **Provisioned throughput** to create an account in [provisioned throughput](../../set-throughput.md) mode. Select **Serverless** to create an account in [serverless](../../serverless.md) mode. |
40
+
| Apply Azure Cosmos DB free tier discount |**Apply** or **Do not apply**| Enable Azure Cosmos DB free tier. With Azure Cosmos DB free tier, you'll get the first 1000 RU/s and 25 GB of storage for free in an account. Learn more about [free tier](https://azure.microsoft.com/pricing/details/cosmos-db/). |
41
+
42
+
> [!NOTE]
43
+
> You can have up to one free tier Azure Cosmos DB account per Azure subscription and must opt-in when creating the account. If you do not see the option to apply the free tier discount, this means another account in the subscription has already been enabled with free tier.
44
+
45
+
:::image type="content" source="../media/create-account-portal/new-cosmos-account-page.png" lightbox="../media/create-account-portal/new-cosmos-account-page.png" alt-text="Screenshot of new account page for API for NoSQL.":::
46
+
47
+
1. Select **Review + create**.
48
+
49
+
1. Review the settings you provide, and then select **Create**. It takes a few minutes to create the account. Wait for the portal page to display **Your deployment is complete** before moving on.
50
+
51
+
1. Select **Go to resource** to go to the Azure Cosmos DB account page.
52
+
53
+
:::image type="content" source="../media/create-account-portal/cosmos-deployment-complete.png" lightbox="../media/create-account-portal/cosmos-deployment-complete.png" alt-text="Screenshot of deployment page for API for NoSQL resource.":::
54
+
55
+
1. From the API for NoSQL account page, select the **Keys** navigation menu option.
56
+
57
+
:::image type="content" source="../media/get-credentials-portal/cosmos-keys-option.png" lightbox="../media/get-credentials-portal/cosmos-keys-option.png" alt-text="Screenshot of an API for NoSQL account page. The Keys option is highlighted in the navigation menu.":::
58
+
59
+
1. Record the values from the **URI** and **PRIMARY KEY** fields. You'll use these values in a later step.
60
+
61
+
:::image type="content" source="../media/get-credentials-portal/cosmos-endpoint-key-credentials.png" lightbox="../media/get-credentials-portal/cosmos-endpoint-key-credentials.png" alt-text="Screenshot of Keys page with various credentials for an API for NoSQL account.":::
15
62
16
63
#### [Azure CLI](#tab/azure-cli)
17
64
@@ -37,16 +84,20 @@ This quickstart will create a single Azure Cosmos DB account using the SQL API.
37
84
--location $location
38
85
```
39
86
40
-
1. Use the [``az cosmosdb create``](/cli/azure/cosmosdb#az-cosmosdb-create) command to create a new Azure Cosmos DB SQL API account with default settings.
87
+
1. Use the [``az cosmosdb create``](/cli/azure/cosmosdb#az-cosmosdb-create) command to create a new API for NoSQL account with default settings.
41
88
42
89
```azurecli-interactive
43
90
az cosmosdb create \
44
91
--resource-group $resourceGroupName \
45
92
--name $accountName \
46
-
--locations regionName=$location
93
+
--locations regionName=$location \
94
+
--enable-free-tier true
47
95
```
48
96
49
-
1. Get the SQL API endpoint *URI* for the account using the [``az cosmosdb show``](/cli/azure/cosmosdb#az-cosmosdb-show) command.
97
+
> [!NOTE]
98
+
> You can have up to one free tier Azure Cosmos DB account per Azure subscription and must opt-in when creating the account. If you do not see the option to apply the free tier discount, this means another account in the subscription has already been enabled with free tier. To find other free-tier enabled accounts, see [find an existing Azure Cosmos DB free-tier account in a subscription](../../scripts/cli/common/free-tier.md#run-the-script).
99
+
100
+
1. Get the API for NoSQL endpoint *URI* for the account using the [``az cosmosdb show``](/cli/azure/cosmosdb#az-cosmosdb-show) command.
50
101
51
102
```azurecli-interactive
52
103
az cosmosdb show \
@@ -93,18 +144,22 @@ This quickstart will create a single Azure Cosmos DB account using the SQL API.
93
144
New-AzResourceGroup @parameters
94
145
```
95
146
96
-
1. Use the [``New-AzCosmosDBAccount``](/powershell/module/az.cosmosdb/new-azcosmosdbaccount) cmdlet to create a new Azure Cosmos DB SQL API account with default settings.
147
+
1. Use the [``New-AzCosmosDBAccount``](/powershell/module/az.cosmosdb/new-azcosmosdbaccount) cmdlet to create a new API for NoSQL account with default settings.
97
148
98
149
```azurepowershell-interactive
99
150
$parameters = @{
100
151
ResourceGroupName = $RESOURCE_GROUP_NAME
101
152
Name = $ACCOUNT_NAME
102
153
Location = $LOCATION
154
+
EnableFreeTier = true
103
155
}
104
156
New-AzCosmosDBAccount @parameters
105
157
```
106
158
107
-
1. Get the SQL API endpoint *URI* for the account using the [``Get-AzCosmosDBAccount``](/powershell/module/az.cosmosdb/get-azcosmosdbaccount) cmdlet.
159
+
> [!NOTE]
160
+
> You can have up to one free tier Azure Cosmos DB account per Azure subscription and must opt-in when creating the account. If you do not see the option to apply the free tier discount, this means another account in the subscription has already been enabled with free tier.
161
+
162
+
1. Get the API for NoSQL endpoint *URI* for the account using the [``Get-AzCosmosDBAccount``](/powershell/module/az.cosmosdb/get-azcosmosdbaccount) cmdlet.
108
163
109
164
```azurepowershell-interactive
110
165
$parameters = @{
@@ -129,106 +184,4 @@ This quickstart will create a single Azure Cosmos DB account using the SQL API.
129
184
130
185
1. Record the *URI* and *PRIMARY KEY* values. You'll use these credentials later.
131
186
132
-
#### [Portal](#tab/azure-portal)
133
-
134
-
> [!TIP]
135
-
> For this quickstart, we recommend using the resource group name ``msdocs-cosmos-quickstart-rg``.
136
-
137
-
1. Sign in to the [Azure portal](https://portal.azure.com).
138
-
139
-
1. From the Azure portal menu or the **Home page**, select **Create a resource**.
140
-
141
-
1. On the **New** page, search for and select **Azure Cosmos DB**.
142
-
143
-
1. On the **Select API option** page, select the **Create** option within the **Core (SQL) - Recommend** section. Azure Cosmos DB has five APIs: SQL, MongoDB, Gremlin, Table, and Cassandra. [Learn more about the SQL API](../index.yml).
144
-
145
-
:::image type="content" source="../media/create-account-portal/cosmos-api-choices.png" lightbox="../media/create-account-portal/cosmos-api-choices.png" alt-text="Screenshot of select API option page for Azure Cosmos DB.":::
146
-
147
-
1. On the **Create Azure Cosmos DB Account** page, enter the following information:
148
-
149
-
| Setting | Value | Description |
150
-
| --- | --- | --- |
151
-
| Subscription | Subscription name | Select the Azure subscription that you wish to use for this Azure Cosmos account. |
152
-
| Resource Group | Resource group name | Select a resource group, or select **Create new**, then enter a unique name for the new resource group. |
153
-
| Account Name | A unique name | Enter a name to identify your Azure Cosmos account. The name will be used as part of a fully qualified domain name (FQDN) with a suffix of *documents.azure.com*, so the name must be globally unique. The name can only contain lowercase letters, numbers, and the hyphen (-) character. The name must also be between 3-44 characters in length. |
154
-
| Location | The region closest to your users | Select a geographic location to host your Azure Cosmos DB account. Use the location that is closest to your users to give them the fastest access to the data. |
155
-
| Capacity mode |Provisioned throughput or Serverless|Select **Provisioned throughput** to create an account in [provisioned throughput](../../set-throughput.md) mode. Select **Serverless** to create an account in [serverless](../../serverless.md) mode. |
156
-
| Apply Azure Cosmos DB free tier discount | **Apply** or **Do not apply** |With Azure Cosmos DB free tier, you'll get the first 1000 RU/s and 25 GB of storage for free in an account. Learn more about [free tier](https://azure.microsoft.com/pricing/details/cosmos-db/). |
157
-
158
-
> [!NOTE]
159
-
> You can have up to one free tier Azure Cosmos DB account per Azure subscription and must opt-in when creating the account. If you do not see the option to apply the free tier discount, this means another account in the subscription has already been enabled with free tier.
160
-
161
-
:::image type="content" source="../media/create-account-portal/new-cosmos-account-page.png" lightbox="../media/create-account-portal/new-cosmos-account-page.png" alt-text="Screenshot of new account page for Azure Cosmos DB SQL API.":::
162
-
163
-
1. Select **Review + create**.
164
-
165
-
1. Review the settings you provide, and then select **Create**. It takes a few minutes to create the account. Wait for the portal page to display **Your deployment is complete** before moving on.
166
-
167
-
1. Select **Go to resource** to go to the Azure Cosmos DB account page.
168
-
169
-
:::image type="content" source="../media/create-account-portal/cosmos-deployment-complete.png" lightbox="../media/create-account-portal/cosmos-deployment-complete.png" alt-text="Screenshot of deployment page for Azure Cosmos DB SQL API resource.":::
170
-
171
-
1. From the Azure Cosmos DB SQL API account page, select the **Keys** navigation menu option.
172
-
173
-
:::image type="content" source="../media/get-credentials-portal/cosmos-keys-option.png" lightbox="../media/get-credentials-portal/cosmos-keys-option.png" alt-text="Screenshot of an Azure Cosmos DB SQL API account page. The Keys option is highlighted in the navigation menu.":::
174
-
175
-
1. Record the values from the **URI** and **PRIMARY KEY** fields. You'll use these values in a later step.
176
-
177
-
:::image type="content" source="../media/get-credentials-portal/cosmos-endpoint-key-credentials.png" lightbox="../media/get-credentials-portal/cosmos-endpoint-key-credentials.png" alt-text="Screenshot of Keys page with various credentials for an Azure Cosmos DB SQL API account.":::
> Azure Resource Manager templates are written in two syntaxes, JSON and Bicep. This sample uses the [Bicep](../../../azure-resource-manager/bicep/overview.md) syntax. To learn more about the two syntaxes, see [comparing JSON and Bicep for templates](../../../azure-resource-manager/bicep/compare-template-syntax.md).
183
-
184
-
1. Create shell variables for *accountName*, *resourceGroupName*, and *location*.
185
-
186
-
```azurecli-interactive
187
-
# Variable for resource group name
188
-
resourceGroupName="msdocs-cosmos"
189
-
190
-
# Variable for location
191
-
location="westus"
192
-
193
-
# Variable for account name with a randomly generated suffix
194
-
let suffix=$RANDOM*$RANDOM
195
-
accountName="msdocs-$suffix"
196
-
```
197
-
198
-
1. If you haven't already, sign in to the Azure CLI using the [``az login``](/cli/azure/reference-index#az-login) command.
199
-
200
-
1. Use the [``az group create``](/cli/azure/group#az-group-create) command to create a new resource group in your subscription.
201
-
202
-
```azurecli-interactive
203
-
az group create \
204
-
--name $resourceGroupName \
205
-
--location $location
206
-
```
207
-
208
-
1. Create a new ``.bicep`` file with the deployment template in the Bicep syntax.
@@ -27,8 +27,7 @@ Get started with the Azure Cosmos DB client library for .NET to create databases
27
27
## Prerequisites
28
28
29
29
- An Azure account with an active subscription.
30
-
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
31
-
- Alternatively, you can [try Azure Cosmos DB free](../try-free.md) before you commit.
30
+
- No Azure subscription? You can [try Azure Cosmos DB free](../try-free.md) with no credit card required.
32
31
-[.NET 6.0 or later](https://dotnet.microsoft.com/download)
33
32
-[Azure Command-Line Interface (CLI)](/cli/azure/) or [Azure PowerShell](/powershell/azure/)
34
33
@@ -44,7 +43,7 @@ This section walks you through creating an Azure Cosmos DB account and setting u
44
43
### <aid="create-account"></a>Create an Azure Cosmos DB account
45
44
46
45
> [!TIP]
47
-
> Alternatively, you can [try Azure Cosmos DB free](../try-free.md)before you commit. If you create an account using the free trial, you can safely skip this section.
46
+
> No Azure subscription? You can [try Azure Cosmos DB free](../try-free.md)with no credit card required. If you create an account using the free trial, you can safely skip ahead to the [Create a new .NET app](#create-a-new-net-app) section.
0 commit comments