Skip to content

Commit 05e7547

Browse files
authored
Merge pull request #287162 from MicrosoftDocs/main
Publish to live, Monday 4 AM PST, 9/23
2 parents 0e8e247 + 8291dca commit 05e7547

File tree

665 files changed

+6316
-1403
lines changed

Some content is hidden

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

665 files changed

+6316
-1403
lines changed

articles/azure-resource-manager/managed-applications/deploy-bicep-definition.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Bicep to deploy an Azure Managed Application definition
33
description: Describes how to use Bicep to deploy an Azure Managed Application definition from your service catalog.
44
ms.topic: quickstart
55
ms.custom: devx-track-azurepowershell, devx-track-bicep, devx-track-azurecli
6-
ms.date: 06/24/2024
6+
ms.date: 09/22/2024
77
---
88

99
# Quickstart: Use Bicep to deploy an Azure Managed Application definition
@@ -27,7 +27,7 @@ To complete the tasks in this article, you need the following items:
2727

2828
## Get managed application definition
2929

30-
# [PowerShell](#tab/azure-powershell)
30+
# [Azure PowerShell](#tab/azure-powershell)
3131

3232
To get the managed application's definition with Azure PowerShell, run the following commands.
3333

@@ -110,18 +110,6 @@ param appServicePlanName string
110110
@description('Globally unique across Azure. Maximum of 47 alphanumeric characters or hyphens.')
111111
param appServiceNamePrefix string
112112
113-
@maxLength(11)
114-
@description('Use only lowercase letters and numbers and a maximum of 11 characters.')
115-
param storageAccountNamePrefix string
116-
117-
@allowed([
118-
'Premium_LRS'
119-
'Standard_LRS'
120-
'Standard_GRS'
121-
])
122-
@description('The options are Premium_LRS, Standard_LRS, or Standard_GRS')
123-
param storageAccountType string
124-
125113
@description('Resource ID for the managed application definition.')
126114
var appResourceId = resourceId('${definitionRG}', 'Microsoft.Solutions/applicationdefinitions', '${definitionName}')
127115
@@ -142,12 +130,6 @@ resource bicepServiceCatalogApp 'Microsoft.Solutions/applications@2021-07-01' =
142130
appServiceNamePrefix: {
143131
value: appServiceNamePrefix
144132
}
145-
storageAccountNamePrefix: {
146-
value: storageAccountNamePrefix
147-
}
148-
storageAccountType: {
149-
value: storageAccountType
150-
}
151133
}
152134
}
153135
}
@@ -168,8 +150,6 @@ param managedAppName = 'sampleBicepManagedApp'
168150
param mrgName = 'placeholder for managed resource group name'
169151
param appServicePlanName = 'demoAppServicePlan'
170152
param appServiceNamePrefix = 'demoApp'
171-
param storageAccountNamePrefix = 'demostg1234'
172-
param storageAccountType = 'Standard_LRS'
173153
```
174154

175155
You need to provide several parameters to deploy the managed application:
@@ -182,12 +162,10 @@ You need to provide several parameters to deploy the managed application:
182162
| `mrgName` | Unique name for the managed resource group that contains the application's deployed resources. The resource group is created when you deploy the managed application. To create a managed resource group name, run the commands that follow this parameter list and use the `$mrgname` value to replace the placeholder in the parameters file. |
183163
| `appServicePlanName` | Create a plan name. Maximum of 40 alphanumeric characters and hyphens. For example, _demoAppServicePlan_. App Service plan names must be unique within a resource group in your subscription. |
184164
| `appServiceNamePrefix` | Create a prefix for the plan name. Maximum of 47 alphanumeric characters or hyphens. For example, _demoApp_. During deployment, the prefix is concatenated with a unique string to create a name that's globally unique across Azure. |
185-
| `storageAccountNamePrefix` | Use only lowercase letters and numbers and a maximum of 11 characters. For example, _demostg1234_. During deployment, the prefix is concatenated with a unique string to create a name globally unique across Azure. |
186-
| `storageAccountType` | The options are Premium_LRS, Standard_LRS, and Standard_GRS. |
187165

188166
You can run the following commands to create a name for the managed resource group.
189167

190-
# [PowerShell](#tab/azure-powershell)
168+
# [Azure PowerShell](#tab/azure-powershell)
191169

192170
```azurepowershell
193171
$mrgprefix = 'mrg-sampleBicepManagedApplication-'
@@ -213,7 +191,7 @@ The `$mrgprefix` and `$mrgtimestamp` variables are concatenated and stored in th
213191

214192
Use Azure PowerShell or Azure CLI to create a resource group and deploy the managed application.
215193

216-
# [PowerShell](#tab/azure-powershell)
194+
# [Azure PowerShell](#tab/azure-powershell)
217195

218196
```azurepowershell
219197
New-AzResourceGroup -Name bicepApplicationGroup -Location westus
@@ -254,7 +232,7 @@ After the service catalog managed application is deployed, you have two new reso
254232

255233
After the deployment is finished, you can check your managed application's status.
256234

257-
# [PowerShell](#tab/azure-powershell)
235+
# [Azure PowerShell](#tab/azure-powershell)
258236

259237
Run the following command to check the managed application's status.
260238

@@ -288,7 +266,7 @@ az managedapp show --name sampleBicepManagedApp --resource-group bicepApplicatio
288266

289267
You can view the resources deployed to the managed resource group.
290268

291-
# [PowerShell](#tab/azure-powershell)
269+
# [Azure PowerShell](#tab/azure-powershell)
292270

293271
To display the managed resource group's resources, run the following command. You created the `$mrgname` variable when you created the parameters.
294272

@@ -350,7 +328,7 @@ When you're finished with the managed application, you can delete the resource g
350328

351329
When you delete the _bicepApplicationGroup_ resource group, the managed application, managed resource group, and all the Azure resources are deleted.
352330

353-
# [PowerShell](#tab/azure-powershell)
331+
# [Azure PowerShell](#tab/azure-powershell)
354332

355333
The command prompts you to confirm that you want to remove the resource group.
356334

articles/azure-resource-manager/managed-applications/deploy-service-catalog-quickstart.md

Lines changed: 9 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy a service catalog managed application
33
description: Describes how to deploy a service catalog's managed application for an Azure Managed Application using Azure PowerShell, Azure CLI, or Azure portal.
44
ms.topic: quickstart
5-
ms.date: 06/24/2024
5+
ms.date: 09/22/2024
66
ms.custom: engagement-fy23, devx-track-azurecli, devx-track-azurepowershell
77
---
88

@@ -26,7 +26,7 @@ The examples use the resource groups names created in the _quickstart to publish
2626

2727
### Get managed application definition
2828

29-
# [PowerShell](#tab/azure-powershell)
29+
# [Azure PowerShell](#tab/azure-powershell)
3030

3131
To get the managed application's definition with Azure PowerShell, run the following commands.
3232

@@ -107,7 +107,7 @@ To get the managed application's definition from the Azure portal, use the follo
107107

108108
### Create resource group and parameters
109109

110-
# [PowerShell](#tab/azure-powershell)
110+
# [Azure PowerShell](#tab/azure-powershell)
111111

112112
Create a resource group for the managed application deployment.
113113

@@ -140,17 +140,13 @@ For readability, the completed JSON string uses the backtick for line continuati
140140

141141
```powershell
142142
$params="{ `"appServicePlanName`": {`"value`":`"demoAppServicePlan`"}, `
143-
`"appServiceNamePrefix`": {`"value`":`"demoApp`"}, `
144-
`"storageAccountNamePrefix`": {`"value`":`"demostg1234`"}, `
145-
`"storageAccountType`": {`"value`":`"Standard_LRS`"} }"
143+
`"appServiceNamePrefix`": {`"value`":`"demoApp`"} }"
146144
```
147145

148146
The parameters to create the managed resources:
149147

150148
- `appServicePlanName`: Create a plan name. Maximum of 40 alphanumeric characters and hyphens. For example, _demoAppServicePlan_. App Service plan names must be unique within a resource group in your subscription.
151149
- `appServiceNamePrefix`: Create a prefix for the plan name. Maximum of 47 alphanumeric characters or hyphens. For example, _demoApp_. During deployment, the prefix is concatenated with a unique string to create a name that's globally unique across Azure.
152-
- `storageAccountNamePrefix`: Use only lowercase letters and numbers and a maximum of 11 characters. For example, _demostg1234_. During deployment, the prefix is concatenated with a unique string to create a name globally unique across Azure. Although you're creating a prefix, the control checks for existing names in Azure and might post a validation message that the name already exists. If so, choose a different prefix.
153-
- `storageAccountType`: The options are Premium_LRS, Standard_LRS, and Standard_GRS.
154150

155151
# [Azure CLI](#tab/azure-cli)
156152

@@ -186,17 +182,13 @@ For readability, the completed JSON string uses the backslash for line continuat
186182

187183
```azurecli
188184
params="{ \"appServicePlanName\": {\"value\":\"demoAppServicePlan\"}, \
189-
\"appServiceNamePrefix\": {\"value\":\"demoApp\"}, \
190-
\"storageAccountNamePrefix\": {\"value\":\"demostg1234\"}, \
191-
\"storageAccountType\": {\"value\":\"Standard_LRS\"} }"
185+
\"appServiceNamePrefix\": {\"value\":\"demoApp\"} }"
192186
```
193187

194188
The parameters to create the managed resources:
195189

196190
- `appServicePlanName`: Create a plan name. Maximum of 40 alphanumeric characters and hyphens. For example, _demoAppServicePlan_. App Service plan names must be unique within a resource group in your subscription.
197191
- `appServiceNamePrefix`: Create a prefix for the plan name. Maximum of 47 alphanumeric characters or hyphens. For example, _demoApp_. During deployment, the prefix is concatenated with a unique string to create a name that's globally unique across Azure.
198-
- `storageAccountNamePrefix`: Use only lowercase letters and numbers and a maximum of 11 characters. For example, _demostg1234_. During deployment, the prefix is concatenated with a unique string to create a name globally unique across Azure. Although you're creating a prefix, the control checks for existing names in Azure and might post a validation message that the name already exists. If so, choose a different prefix.
199-
- `storageAccountType`: The options are Premium_LRS, Standard_LRS, and Standard_GRS.
200192

201193
# [Portal](#tab/azure-portal)
202194

@@ -217,18 +209,11 @@ The parameters to create the managed resources:
217209
- **App Service plan name**: Create a plan name. Maximum of 40 alphanumeric characters and hyphens. For example, _demoAppServicePlan_. App Service plan names must be unique within a resource group in your subscription.
218210
- **App Service name prefix**: Create a prefix for the plan name. Maximum of 47 alphanumeric characters or hyphens. For example, _demoApp_. During deployment, the prefix is concatenated with a unique string to create a name that's globally unique across Azure.
219211

220-
1. Enter a prefix for the storage account name and select the storage account type. Select **Next**.
221-
222-
:::image type="content" source="./media/deploy-service-catalog-quickstart/storage-settings.png" alt-text="Screenshot that shows the information needed to create a storage account.":::
223-
224-
- **Storage account name prefix**: Use only lowercase letters and numbers and a maximum of 11 characters. For example, _demostg1234_. During deployment, the prefix is concatenated with a unique string to create a name globally unique across Azure. Although you're creating a prefix, the control checks for existing names in Azure and might post a validation message that the name already exists. If so, choose a different prefix.
225-
- **Storage account type**: Select **Change type** to choose a storage account type. The default is Standard_LRS. The other options are Premium_LRS, Standard_LRS, and Standard_GRS.
226-
227212
---
228213

229214
### Deploy the managed application
230215

231-
# [PowerShell](#tab/azure-powershell)
216+
# [Azure PowerShell](#tab/azure-powershell)
232217

233218
Run the following command to deploy the managed application.
234219

@@ -294,7 +279,7 @@ After the service catalog managed application is deployed, you have two new reso
294279

295280
After the deployment is finished, you can check your managed application's status.
296281

297-
# [PowerShell](#tab/azure-powershell)
282+
# [Azure PowerShell](#tab/azure-powershell)
298283

299284
Run the following command to check the managed application's status.
300285

@@ -338,7 +323,7 @@ Select the managed application's name to get more information like the link to t
338323

339324
You can view the resources deployed to the managed resource group.
340325

341-
# [PowerShell](#tab/azure-powershell)
326+
# [Azure PowerShell](#tab/azure-powershell)
342327

343328
To display the managed resource group's resources, run the following command. You created the `$mrgname` variable when you created the parameters.
344329

@@ -415,7 +400,7 @@ The role assignment gives the application's publisher access to manage the stora
415400

416401
When you're finished with the managed application, you can delete the resource groups and that removes all the resources you created. For example, in this quickstart you created the resource groups _applicationGroup_ and a managed resource group with the prefix _mrg-sampleManagedApplication_.
417402

418-
# [PowerShell](#tab/azure-powershell)
403+
# [Azure PowerShell](#tab/azure-powershell)
419404

420405
The command prompts you to confirm that you want to remove the resource group.
421406

13.5 KB
Loading
-5.96 KB
Loading
Loading
Loading
Loading
-2.47 KB
Loading
Loading

0 commit comments

Comments
 (0)