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
The following YAML shows the [Azure resource group deployment task](/azure/devops/pipelines/tasks/deploy/azure-resource-group-deployment?view=azure-devops):
173
+
The following YAML shows the [Azure Resource Manager template deployment task](https://github.com/microsoft/azure-pipelines-tasks/blob/master/Tasks/AzureResourceManagerTemplateDeploymentV3/README.md):
There are several parts of this task to revise for your environment. For `azureSubscription`, provide the name of the service connection you created.
192
+
There are several parts of this task to revise for your environment.
189
193
190
-
```yaml
191
-
azureSubscription: '<your-connection-name>'
192
-
```
194
+
- 'deploymentScope': Select the scope of deployment from the options: `Management Group`, `Subscription` and `Resource Group`. Use **Resource Group** in this walk through. To learn more about the scopes, see [Deployment scopes](./resource-group-template-deploy-rest.md#deployment-scope).
193
195
194
-
For `resourceGroupName` and `location`, provide the name and location of the resource group you want to deploy to. The task creates the resource group if it doesn't exist.
196
+
- `ConnectedServiceName`: Provide the name of the service connection you created.
195
197
196
-
```yaml
197
-
resourceGroupName: '<resource-group-name>'
198
-
location: '<location>'
199
-
```
198
+
```yaml
199
+
ConnectedServiceName: '<your-connection-name>'
200
+
```
201
+
202
+
- `subscriptionName`: Provide the target subscription ID. This property only applies to the Resource Group deployment scope and the subscription deployment scoop.
203
+
204
+
- `resourceGroupName` and `location`: provide the name and location of the resource group you want to deploy to. The task creates the resource group if it doesn't exist.
205
+
206
+
```yaml
207
+
resourceGroupName: '<resource-group-name>'
208
+
location: '<location>'
209
+
```
200
210
201
211
The deployment task links to a template named `WebSite.json` and a parameters file named WebSite.parameters.json. Use the names of your template and parameter files.
202
212
@@ -220,16 +230,20 @@ Now, that you understand how to create the tasks, let's go through the steps to
0 commit comments