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
This article shows how to use an Azure Resource Manager template that creates a Service Bus namespace and a queue within that namespace. The article explains how to specify which resources are deployed and how to define parameters that are specified when the deployment is executed. You can use this template for your own deployments, or customize it to meet your requirements.
23
24
24
-
For more information about creating templates, please see [Authoring Azure Resource Manager templates][Authoring Azure Resource Manager templates].
For the complete template, see the [Service Bus namespace and queue template][Service Bus namespace and queue template] on GitHub.
27
+
If you don't have an Azure subscription, [create a free account](https://azure.microsoft.com/free/) before you begin.
28
+
29
+
## Prerequisites
30
+
31
+
None
32
+
33
+
## Create a Service Bus namespace and a queue
34
+
35
+
### Review the template
36
+
37
+
The template used in this quickstart is from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/201-servicebus-create-queue).
You can find more template from [Azure Quickstart templates](https://azure.microsoft.com/resources/templates/?resourceType=Microsoft.Servicebus&pageNumber=1&sort=Popular)
39
55
40
-
##What will you deploy?
56
+
### Deploy the template
41
57
42
58
With this template, you deploy a Service Bus namespace with a queue.
43
59
@@ -47,95 +63,9 @@ To run the deployment automatically, click the following button:
47
63
48
64
[](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2FAzure%2Fazure-quickstart-templates%2Fmaster%2F201-servicebus-create-queue%2Fazuredeploy.json)
49
65
50
-
## Parameters
51
-
52
-
With Azure Resource Manager, you define parameters for values you want to specify when the template is deployed. The template includes a section called `Parameters` that contains all of the parameter values. You should define a parameter for those values that will vary based on the project you are deploying or based on the environment you are deploying to. Do not define parameters for values that will always stay the same. Each parameter value is used in the template to define the resources that are deployed.
53
-
54
-
The template defines the following parameters.
55
-
56
-
### serviceBusNamespaceName
57
-
The name of the Service Bus namespace to create.
58
-
59
-
```json
60
-
"serviceBusNamespaceName": {
61
-
"type": "string",
62
-
"metadata": {
63
-
"description": "Name of the Service Bus namespace"
64
-
}
65
-
}
66
-
```
67
-
68
-
### serviceBusQueueName
69
-
The name of the queue created in the Service Bus namespace.
70
-
71
-
```json
72
-
"serviceBusQueueName": {
73
-
"type": "string"
74
-
}
75
-
```
76
-
77
-
### serviceBusApiVersion
78
-
The Service Bus API version of the template.
79
-
80
-
```json
81
-
"serviceBusApiVersion": {
82
-
"type": "string",
83
-
"defaultValue": "2017-04-01",
84
-
"metadata": {
85
-
"description": "Service Bus ApiVersion used by the template"
86
-
}
87
-
```
88
-
89
-
## Resources to deploy
90
-
Creates a standard Service Bus namespace of type **Messaging**, with a queue.
For JSON syntax and properties, see [namespaces](/azure/templates/microsoft.servicebus/namespaces) and [queues](/azure/templates/microsoft.servicebus/namespaces/queues).
azure group deployment create \<my-resource-group\> \<my-deployment-name\> --template-uri <https://raw.githubusercontent.com/azure/azure-quickstart-templates/master/201-servicebus-create-queue/azuredeploy.json>
135
-
```
136
-
137
66
## Next steps
138
-
See the following topic that shows how to create an authorization rule for the namespace/queue:
67
+
68
+
See the following topic that shows how to create an authorization rule for the namespace/queue:
139
69
[Create a Service Bus authorization rule for namespace and queue using an Azure Resource Manager template](service-bus-resource-manager-namespace-auth-rule.md)
140
70
141
71
Learn how to manage these resources by viewing these articles:
0 commit comments